Documentation
¶
Overview ¶
Package pdfsmart re-exports internal/pdfsmart's page-aware PDF conversion for external consumers (e.g. seshat-ai).
Index ¶
Constants ¶
View Source
const ( PageSourceNative = internalpdfsmart.PageSourceNative PageSourceDocling = internalpdfsmart.PageSourceDocling )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PageResult ¶
type PageResult = internalpdfsmart.PageResult
type PageSource ¶
type PageSource = internalpdfsmart.PageSource
type Result ¶
type Result = internalpdfsmart.Result
func Convert ¶
Convert extracts a PDF's text page by page, sending only the pages that actually need it (an embedded image, or a sparse/garbled native text layer) through doclingClient instead of the whole document. See internal/pdfsmart's package doc for the exact routing rule, and Convert's own doc comment there for the ok=false safety contract.
Click to show internal directories.
Click to hide internal directories.