SimpleDocumentStore
Defined in: .build/typescript/packages/llamaindex/src/storage/docStore/SimpleDocumentStore.ts:17
Extends
Section titled “Extends”KVDocumentStore
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SimpleDocumentStore(
kvStore?
,namespace?
):SimpleDocumentStore
Defined in: .build/typescript/packages/llamaindex/src/storage/docStore/SimpleDocumentStore.ts:20
Parameters
Section titled “Parameters”kvStore?
Section titled “kvStore?”SimpleKVStore
namespace?
Section titled “namespace?”string
Returns
Section titled “Returns”SimpleDocumentStore
Overrides
Section titled “Overrides”KVDocumentStore.constructor
Methods
Section titled “Methods”fromPersistDir()
Section titled “fromPersistDir()”
static
fromPersistDir(persistDir
,namespace?
,options?
):Promise
<SimpleDocumentStore
>
Defined in: .build/typescript/packages/llamaindex/src/storage/docStore/SimpleDocumentStore.ts:27
Parameters
Section titled “Parameters”persistDir
Section titled “persistDir”string
= DEFAULT_PERSIST_DIR
namespace?
Section titled “namespace?”string
options?
Section titled “options?”logger?
Section titled “logger?”Logger
Returns
Section titled “Returns”Promise
<SimpleDocumentStore
>
fromPersistPath()
Section titled “fromPersistPath()”
static
fromPersistPath(persistPath
,namespace?
,options?
):Promise
<SimpleDocumentStore
>
Defined in: .build/typescript/packages/llamaindex/src/storage/docStore/SimpleDocumentStore.ts:43
Parameters
Section titled “Parameters”persistPath
Section titled “persistPath”string
namespace?
Section titled “namespace?”string
options?
Section titled “options?”logger?
Section titled “logger?”Logger
Returns
Section titled “Returns”Promise
<SimpleDocumentStore
>
persist()
Section titled “persist()”persist(
persistPath
):Promise
<void
>
Defined in: .build/typescript/packages/llamaindex/src/storage/docStore/SimpleDocumentStore.ts:55
Parameters
Section titled “Parameters”persistPath
Section titled “persistPath”string
= ...
Returns
Section titled “Returns”Promise
<void
>
Overrides
Section titled “Overrides”KVDocumentStore.persist
fromDict()
Section titled “fromDict()”
static
fromDict(saveDict
,namespace?
):SimpleDocumentStore
Defined in: .build/typescript/packages/llamaindex/src/storage/docStore/SimpleDocumentStore.ts:69
Parameters
Section titled “Parameters”saveDict
Section titled “saveDict”SaveDict
namespace?
Section titled “namespace?”string
Returns
Section titled “Returns”SimpleDocumentStore
toDict()
Section titled “toDict()”toDict():
SaveDict
Defined in: .build/typescript/packages/llamaindex/src/storage/docStore/SimpleDocumentStore.ts:74
Returns
Section titled “Returns”SaveDict