Index
Base reader class.
BaseReader #
Bases: ABC
Utilities for loading data from a directory.
Source code in llama-index-core/llama_index/core/readers/base.py
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
|
lazy_load_data #
lazy_load_data(*args: Any, **load_kwargs: Any) -> Iterable[Document]
Load data from the input directory lazily.
Source code in llama-index-core/llama_index/core/readers/base.py
21 22 23 24 25 |
|
alazy_load_data
async
#
alazy_load_data(*args: Any, **load_kwargs: Any) -> Iterable[Document]
Load data from the input directory lazily.
Source code in llama-index-core/llama_index/core/readers/base.py
27 28 29 30 31 32 |
|
load_data #
load_data(*args: Any, **load_kwargs: Any) -> List[Document]
Load data from the input directory.
Source code in llama-index-core/llama_index/core/readers/base.py
34 35 36 |
|
aload_data
async
#
aload_data(*args: Any, **load_kwargs: Any) -> List[Document]
Load data from the input directory.
Source code in llama-index-core/llama_index/core/readers/base.py
38 39 40 |
|
load_langchain_documents #
load_langchain_documents(**load_kwargs: Any) -> List[Document]
Load data in LangChain document format.
Source code in llama-index-core/llama_index/core/readers/base.py
42 43 44 45 |
|
BasePydanticReader #
Bases: BaseReader
, BaseComponent
Serialiable Data Loader with Pydantic.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
is_remote
|
bool
|
Whether the data is loaded from a remote API or a local file. |
False
|
Source code in llama-index-core/llama_index/core/readers/base.py
48 49 50 51 52 53 54 55 |
|