Class: SimpleVectorStore
Implements
Constructors
constructor
• new SimpleVectorStore(data?
, fs?
)
Parameters
Name | Type |
---|---|
data? | SimpleVectorStoreData |
fs? | GenericFileSystem |
Defined in
packages/core/src/storage/vectorStore/SimpleVectorStore.ts:37
Properties
data
• Private
data: SimpleVectorStoreData
Defined in
packages/core/src/storage/vectorStore/SimpleVectorStore.ts:33
fs
• Private
fs: GenericFileSystem
= DEFAULT_FS
Defined in
packages/core/src/storage/vectorStore/SimpleVectorStore.ts:34
persistPath
• Private
persistPath: undefined
| string
Defined in
packages/core/src/storage/vectorStore/SimpleVectorStore.ts:35
storesText
• storesText: boolean
= false
Implementation of
Defined in
packages/core/src/storage/vectorStore/SimpleVectorStore.ts:32
Accessors
client
• get
client(): any
Returns
any
Implementation of
VectorStore.client
Defined in
packages/core/src/storage/vectorStore/SimpleVectorStore.ts:50
Methods
add
▸ add(embeddingResults
): Promise
<string
[]>