Versions in this module Expand all Collapse all v0 v0.6.9 Oct 29, 2024 Changes in this version + func WithConfig(config PDFOptions) func(o *PDFOptions) + type PDF struct + func NewPDF(r io.Reader, optFns ...func(o *PDFOptions)) (*PDF, error) + func (l *PDF) Load(ctx context.Context) ([]vs.Document, error) + func (l *PDF) LoadAndSplit(ctx context.Context, splitter types.TextSplitter) ([]vs.Document, error) + type PDFOptions struct + MaxPages uint + NumThread int + Password string + Source string + StartPage uint