Class: abstract
BaseVectorStore<Client>
Extended by
AstraDBVectorStore
AzureAISearchVectorStore
AzureCosmosDBNoSqlVectorStore
ChromaVectorStore
MilvusVectorStore
MongoDBAtlasVectorSearch
PGVectorStore
PineconeVectorStore
QdrantVectorStore
SimpleVectorStore
WeaviateVectorStore
Type Parameters
• Client = unknown
Constructors
new BaseVectorStore()
protected
new BaseVectorStore<Client
>(params
?):BaseVectorStore
<Client
>
Parameters
• params?: VectorStoreBaseParams
Returns
BaseVectorStore
<Client
>
Defined in
packages/llamaindex/src/vector-store/types.ts:103
Properties
embedModel
embedModel:
BaseEmbedding
Defined in
packages/llamaindex/src/vector-store/types.ts:92
isEmbeddingQuery?
optional
isEmbeddingQuery:boolean
Defined in
packages/llamaindex/src/vector-store/types.ts:94
storesText
abstract
storesText:boolean
Defined in
packages/llamaindex/src/vector-store/types.ts:93
Methods
add()
abstract
add(embeddingResults
):Promise
<string
[]>
Parameters
• embeddingResults: BaseNode
<Metadata
>[]
Returns
Promise
<string
[]>
Defined in
packages/llamaindex/src/vector-store/types.ts:96
client()
abstract
client():Client
Returns
Client
Defined in
packages/llamaindex/src/vector-store/types.ts:95
delete()
abstract
delete(refDocId
,deleteOptions
?):Promise
<void
>
Parameters
• refDocId: string
• deleteOptions?: object
Returns
Promise
<void
>
Defined in
packages/llamaindex/src/vector-store/types.ts:97
query()
abstract
query(query
,options
?):Promise
<VectorStoreQueryResult
>