Basepdf¶
flowtask.components.LangchainLoader.loaders.basepdf
¶
BasePDF
¶
Bases: AbstractLoader
Base Abstract loader for all PDF-file Loaders.
load
async
¶
Load data from a source and return it as a Langchain Document.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path
|
Union[str, PurePath, List[PurePath]]
|
The source of the data. |
required |
Returns:
| Type | Description |
|---|---|
List[Document]
|
List[Document]: A list of Langchain Documents. |