Interface: VectorStore
Properties
isEmbeddingQuery?
optional
isEmbeddingQuery:boolean
Source
packages/core/src/storage/vectorStore/types.ts:61
storesText
storesText:
boolean
Source
packages/core/src/storage/vectorStore/types.ts:60
Methods
add()
add(
embeddingResults
):Promise
<string
[]>
Parameters
• embeddingResults: BaseNode
<Metadata
>[]
Returns
Promise
<string
[]>
Source
packages/core/src/storage/vectorStore/types.ts:63
client()
client():
any
Returns
any
Source
packages/core/src/storage/vectorStore/types.ts:62
delete()
delete(
refDocId
,deleteOptions
?):Promise
<void
>
Parameters
• refDocId: string
• deleteOptions?: any
Returns
Promise
<void
>
Source
packages/core/src/storage/vectorStore/types.ts:64
query()
query(
query
,options
?):Promise
<VectorStoreQueryResult
>
Parameters
• query: VectorStoreQuery
• options?: any
Returns
Promise
<VectorStoreQueryResult
>