Index
基础阅读器类。
BaseReader #
Bases: ABC
从目录中加载数据的工具。
Source code in llama_index/core/readers/base.py
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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
|
lazy_load_data #
lazy_load_data(
*args: Any, **load_kwargs: Any
) -> Iterable[Document]
从输入目录中惰性加载数据。
Source code in llama_index/core/readers/base.py
22 23 24 25 26 |
|
alazy_load_data
async
#
alazy_load_data(
*args: Any, **load_kwargs: Any
) -> Iterable[Document]
从输入目录中惰性加载数据。
Source code in llama_index/core/readers/base.py
28 29 30 31 32 33 |
|
load_data #
load_data(*args: Any, **load_kwargs: Any) -> List[Document]
从输入目录加载数据。
Source code in llama_index/core/readers/base.py
35 36 37 |
|
aload_data
async
#
aload_data(
*args: Any, **load_kwargs: Any
) -> List[Document]
从输入目录加载数据。
Source code in llama_index/core/readers/base.py
39 40 41 |
|
load_langchain_documents #
load_langchain_documents(
**load_kwargs: Any,
) -> List[Document]
以LangChain文档格式加载数据。
Source code in llama_index/core/readers/base.py
43 44 45 46 |
|
BasePydanticReader #
Bases: BaseReader
, BaseComponent
可序列化数据加载器与Pydantic。
Source code in llama_index/core/readers/base.py
62 63 64 65 66 67 68 69 70 71 |
|