Class: WeaviateVectorStore
Extends
Implements
Constructors
new WeaviateVectorStore()
new WeaviateVectorStore(
init
?):WeaviateVectorStore
Parameters
• init?: Partial
<IEmbedModel
> & object
Returns
Overrides
Defined in
packages/llamaindex/src/storage/vectorStore/WeaviateVectorStore.ts:138
Properties
embedModel
embedModel:
BaseEmbedding
Inherited from
Defined in
packages/llamaindex/src/storage/vectorStore/types.ts:104
storesText
storesText:
boolean
=true
Implementation of
VectorStoreNoEmbedModel
.storesText
Defined in
packages/llamaindex/src/storage/vectorStore/WeaviateVectorStore.ts:125
Methods
add()
add(
nodes
):Promise
<string
[]>
Parameters
Returns
Promise
<string
[]>
Implementation of
Defined in
packages/llamaindex/src/storage/vectorStore/WeaviateVectorStore.ts:183
client()
client():
Promise
<WeaviateClient
>
Returns
Promise
<WeaviateClient
>
Implementation of
VectorStoreNoEmbedModel
.client
Defined in
packages/llamaindex/src/storage/vectorStore/WeaviateVectorStore.ts:179
delete()
delete(
refDocId
,deleteOptions
?):Promise
<void
>
Parameters
• refDocId: string
• deleteOptions?: DeleteManyOptions
<boolean
>
Returns
Promise
<void
>
Implementation of
VectorStoreNoEmbedModel
.delete
Defined in
packages/llamaindex/src/storage/vectorStore/WeaviateVectorStore.ts:211
query()
query(
query
):Promise
<VectorStoreQueryResult
>
Parameters
• query: VectorStoreQuery
Returns
Promise
<VectorStoreQueryResult
>
Implementation of
Defined in
packages/llamaindex/src/storage/vectorStore/WeaviateVectorStore.ts:222