Class: SimpleVectorStore
Implements
Constructors
new SimpleVectorStore()
new SimpleVectorStore(
data
?,fs
?):SimpleVectorStore
Parameters
• data?: SimpleVectorStoreData
• fs?: GenericFileSystem
Returns
Source
packages/core/src/storage/vectorStore/SimpleVectorStore.ts:38
Properties
data
private
data:SimpleVectorStoreData
Source
packages/core/src/storage/vectorStore/SimpleVectorStore.ts:34
fs
private
fs:GenericFileSystem
=defaultFS
Source
packages/core/src/storage/vectorStore/SimpleVectorStore.ts:35
persistPath
private
persistPath:undefined
|string
Source
packages/core/src/storage/vectorStore/SimpleVectorStore.ts:36
storesText
storesText:
boolean
=false
Implementation of
Source
packages/core/src/storage/vectorStore/SimpleVectorStore.ts:33
Accessors
client
get
client():any
Returns
any
Source
packages/core/src/storage/vectorStore/SimpleVectorStore.ts:51
Methods
add()
add(
embeddingResults
):Promise
<string
[]>
Parameters
• embeddingResults: BaseNode
<Metadata
>[]