SimpleDocumentStore
定义于:.build/typescript/packages/llamaindex/src/storage/docStore/SimpleDocumentStore.ts:17
KVDocumentStore
新建简单文档存储(
kvStore?,namespace?):SimpleDocumentStore
定义于:.build/typescript/packages/llamaindex/src/storage/docStore/SimpleDocumentStore.ts:20
SimpleKVStore
string
SimpleDocumentStore
KVDocumentStore.constructor
fromPersistDir()
Section titled “fromPersistDir()”
staticfromPersistDir(persistDir,namespace?,options?):Promise<SimpleDocumentStore>
定义于:.build/typescript/packages/llamaindex/src/storage/docStore/SimpleDocumentStore.ts:27
persistDir
Section titled “persistDir”string = DEFAULT_PERSIST_DIR
string
日志记录器?
Section titled “logger?”Logger
Promise<SimpleDocumentStore>
fromPersistPath()
Section titled “fromPersistPath()”
staticfromPersistPath(persistPath,namespace?,options?):Promise<SimpleDocumentStore>
定义于:.build/typescript/packages/llamaindex/src/storage/docStore/SimpleDocumentStore.ts:43
persistPath
Section titled “persistPath”string
string
日志记录器?
Section titled “logger?”Logger
Promise<SimpleDocumentStore>
persist()
Section titled “persist()”persist(
persistPath):Promise<void>
定义于:.build/typescript/packages/llamaindex/src/storage/docStore/SimpleDocumentStore.ts:55
persistPath
Section titled “persistPath”string = ...
Promise<void>
KVDocumentStore.persist
fromDict()
Section titled “fromDict()”
staticfromDict(saveDict,namespace?):SimpleDocumentStore
定义于:.build/typescript/packages/llamaindex/src/storage/docStore/SimpleDocumentStore.ts:69
saveDict
Section titled “saveDict”SaveDict
string
SimpleDocumentStore
toDict()
Section titled “toDict()”toDict():
SaveDict
定义于:.build/typescript/packages/llamaindex/src/storage/docStore/SimpleDocumentStore.ts:74
SaveDict