Interface: VectorStore
Implemented by
AstraDBVectorStore
ChromaVectorStore
MongoDBAtlasVectorSearch
PGVectorStore
PineconeVectorStore
SimpleVectorStore
Properties
isEmbeddingQuery
• Optional
isEmbeddingQuery: boolean
Defined in
packages/core/src/storage/vectorStore/types.ts:61
storesText
• storesText: boolean
Defined in
packages/core/src/storage/vectorStore/types.ts:60
Methods
add
▸ add(embeddingResults
): Promise
<string
[]>
Parameters
Name | Type |
---|---|
embeddingResults | BaseNode <Metadata >[] |
Returns
Promise
<string
[]>
Defined in
packages/core/src/storage/vectorStore/types.ts:63
client
▸ client(): any
Returns
any
Defined in
packages/core/src/storage/vectorStore/types.ts:62
delete
▸ delete(refDocId
, deleteOptions?
): Promise
<void
>
Parameters
Name | Type |
---|---|
refDocId | string |
deleteOptions? | any |
Returns
Promise
<void
>
Defined in
packages/core/src/storage/vectorStore/types.ts:64
query
▸ query(query
, options?
): Promise
<VectorStoreQueryResult
>
Parameters
Name | Type |
---|---|
query | VectorStoreQuery |
options? | any |
Returns
Promise
<VectorStoreQueryResult
>