Skip to main content

Class: MilvusVectorStore

Extends

Implements

Constructors

new MilvusVectorStore()

new MilvusVectorStore(init?): MilvusVectorStore

Parameters

init?: Partial<object> & Partial<IEmbedModel> & object

Returns

MilvusVectorStore

Overrides

VectorStoreBase.constructor

Defined in

packages/llamaindex/src/vector-store/MilvusVectorStore.ts:92

Properties

embedModel

embedModel: BaseEmbedding

Inherited from

VectorStoreBase.embedModel

Defined in

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


isEmbeddingQuery?

optional isEmbeddingQuery: boolean

Implementation of

VectorStoreNoEmbedModel.isEmbeddingQuery

Defined in

packages/llamaindex/src/vector-store/MilvusVectorStore.ts:80


storesText

storesText: boolean = true

Implementation of

VectorStoreNoEmbedModel.storesText

Defined in

packages/llamaindex/src/vector-store/MilvusVectorStore.ts:79

Methods

add()

add(nodes): Promise<string[]>

Parameters

nodes: BaseNode<Metadata>[]

Returns

Promise<string[]>

Implementation of

VectorStoreNoEmbedModel.add

Defined in

packages/llamaindex/src/vector-store/MilvusVectorStore.ts:193


client()

client(): MilvusClient

Returns

MilvusClient

Implementation of

VectorStoreNoEmbedModel.client

Defined in

packages/llamaindex/src/vector-store/MilvusVectorStore.ts:138


delete()

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

Parameters

refDocId: string

deleteOptions?: Omit<DeleteReq, "ids">

Returns

Promise<void>

Implementation of

VectorStoreNoEmbedModel.delete

Defined in

packages/llamaindex/src/vector-store/MilvusVectorStore.ts:228


persist()

persist(): Promise<void>

Returns

Promise<void>

Defined in

packages/llamaindex/src/vector-store/MilvusVectorStore.ts:280


query()

query(query, _options?): Promise<VectorStoreQueryResult>

Parameters

query: VectorStoreQuery

_options?: any

Returns

Promise<VectorStoreQueryResult>

Implementation of

VectorStoreNoEmbedModel.query

Defined in

packages/llamaindex/src/vector-store/MilvusVectorStore.ts:247


toMilvusFilter()

toMilvusFilter(filters?): undefined | string

Parameters

filters?: MetadataFilters

Returns

undefined | string

Defined in

packages/llamaindex/src/vector-store/MilvusVectorStore.ts:241