Documentation ¶
Index ¶
- Variables
- func AsGolc(loader types.DocumentLoader) golcschema.DocumentLoader
- func AsLangchain(loader types.DocumentLoader) lcgodocloaders.Loader
- func DefaultDocLoaderFunc(filetype string) func(ctx context.Context, reader io.Reader) ([]vs.Document, error)
- func FromGolc(loader golcschema.DocumentLoader) types.DocumentLoader
- func FromLangchain(loader lcgodocloaders.Loader) types.DocumentLoader
- func GetDocumentLoaderConfig(name string) (any, error)
- type LoaderFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var MuPDFConfig any
View Source
var MuPDFGetter func(config any) (LoaderFunc, error) = nil
View Source
var OpenAIOCRConfig any
View Source
var OpenAIOCRGetter func(config any) (LoaderFunc, error) = nil
Functions ¶
func AsGolc ¶
func AsGolc(loader types.DocumentLoader) golcschema.DocumentLoader
func AsLangchain ¶
func AsLangchain(loader types.DocumentLoader) lcgodocloaders.Loader
func DefaultDocLoaderFunc ¶
func FromGolc ¶
func FromGolc(loader golcschema.DocumentLoader) types.DocumentLoader
func FromLangchain ¶
func FromLangchain(loader lcgodocloaders.Loader) types.DocumentLoader
func GetDocumentLoaderConfig ¶
Types ¶
type LoaderFunc ¶
func GetDocumentLoaderFunc ¶
func GetDocumentLoaderFunc(name string, config any) (LoaderFunc, error)
Click to show internal directories.
Click to hide internal directories.