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