Skip to main content

Class: WeaviateVectorStore

Extends

Implements

Constructors

new WeaviateVectorStore()

new WeaviateVectorStore(init?): WeaviateVectorStore

Parameters

init?: Partial<IEmbedModel> & object

Returns

WeaviateVectorStore

Overrides

VectorStoreBase.constructor

Defined in

packages/llamaindex/src/vector-store/WeaviateVectorStore.ts:139

Properties

embedModel

embedModel: BaseEmbedding

Inherited from

VectorStoreBase.embedModel

Defined in

packages/llamaindex/src/vector-store/types.ts:104


storesText

storesText: boolean = true

Implementation of

VectorStoreNoEmbedModel.storesText

Defined in

packages/llamaindex/src/vector-store/WeaviateVectorStore.ts:126

Methods

add()

add(nodes): Promise<string[]>

Parameters

nodes: BaseNode<Metadata>[]

Returns

Promise<string[]>

Implementation of

VectorStoreNoEmbedModel.add

Defined in

packages/llamaindex/src/vector-store/WeaviateVectorStore.ts:184


client()

client(): Promise<WeaviateClient>

Returns

Promise<WeaviateClient>

Implementation of

VectorStoreNoEmbedModel.client

Defined in

packages/llamaindex/src/vector-store/WeaviateVectorStore.ts:180


delete()

delete(refDocId, deleteOptions?): Promise<void>

Parameters

refDocId: string

deleteOptions?: DeleteManyOptions<boolean>

Returns

Promise<void>

Implementation of

VectorStoreNoEmbedModel.delete

Defined in

packages/llamaindex/src/vector-store/WeaviateVectorStore.ts:212


query()

query(query): Promise<VectorStoreQueryResult>

Parameters

query: VectorStoreQuery & object

Returns

Promise<VectorStoreQueryResult>

Implementation of

VectorStoreNoEmbedModel.query

Defined in

packages/llamaindex/src/vector-store/WeaviateVectorStore.ts:223