← Về thư mục
skills/pdf-explore/kernel.py
- pdf_sdk · function · L22-L31 — def pdf_sdk()
- pdf_check_fanout · function · L57-L64 — def pdf_check_fanout(parsed, fn)
- pdf_text_cap · function · L67-L72 — def pdf_text_cap(t, n)
- pdf_guard_text · function · L75-L100 — def pdf_guard_text(text)
- pdf_prompt_blocks · function · L103-L146 — def pdf_prompt_blocks(instructions)
- pdf_resolve · function · L149-L165 — def pdf_resolve(path_or_vid)
- pdf_pages · function · L168-L396 — def pdf_pages(path, mode="auto", pages=None, dpi=100, cache=True)
- pdf_map · function · L461-L579 — def pdf_map( path, prompt="Summarize this page in 2 sentences.", mode="auto", model=None, max_concurrency=8, max_tokens=256, dpi=100, pages=None, system=None, )
- pdf_outline · function · L582-L865 — def pdf_outline(path, model=None, max_concurrency=8, force_llm=False, pages=None)
- _norm · function · L649-L652 — def _norm(s)
- pdf_scan · function · L868-L1188 — def pdf_scan( path, query, top_k=5, mode="auto", model=None, max_concurrency=8, threshold=None, dpi=100, pages=None, system=None, strategy="auto", )
- pdf_extract · function · L1191-L1298 — def pdf_extract( path, schema, pages=None, mode="auto", model=None, max_concurrency=8, dpi=100, system=None, max_tokens=2048, )
- pdf_scan_cost · function · L1301-L1320 — def pdf_scan_cost(results)