load | recreate: bool = False, upsert: bool = False, skip_existing: bool = True, filters: Optional[Dict[str, Any]] = None | None | 将知识库加载到向量数据库 |
aload | recreate: bool = False, upsert: bool = False, skip_existing: bool = True, filters: Optional[Dict[str, Any]] = None | None | 异步将知识库加载到向量数据库 |
load_documents | documents: List[Document], upsert: bool = False, skip_existing: bool = True, filters: Optional[Dict[str, Any]] = None | None | 将文档加载到知识库 |
async_load_documents | documents: List[Document], upsert: bool = False, skip_existing: bool = True, filters: Optional[Dict[str, Any]] = None | None | 异步将文档加载到知识库 |
load_document | document: Document, upsert: bool = False, skip_existing: bool = True, filters: Optional[Dict[str, Any]] = None | None | 将单个文档加载到知识库 |
async_load_document | document: Document, upsert: bool = False, skip_existing: bool = True, filters: Optional[Dict[str, Any]] = None | None | 异步将单个文档加载到知识库 |
load_dict | document: Dict[str, Any], upsert: bool = False, skip_existing: bool = True, filters: Optional[Dict[str, Any]] = None | None | 将文档的字典表示加载到知识库 |
load_json | document: str, upsert: bool = False, skip_existing: bool = True, filters: Optional[Dict[str, Any]] = None | None | 将文档的 JSON 表示加载到知识库 |
load_text | text: str, upsert: bool = False, skip_existing: bool = True, filters: Optional[Dict[str, Any]] = None | None | 将文本加载到知识库 |