Skip to main content

Class: MilvusVectorStore

Extends

Constructors

new MilvusVectorStore()

new MilvusVectorStore(init?): MilvusVectorStore

Parameters

init?: Partial<object> & VectorStoreBaseParams & object

Returns

MilvusVectorStore

Overrides

BaseVectorStore.constructor

Defined in

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

Properties

embedModel

embedModel: BaseEmbedding

Inherited from

BaseVectorStore.embedModel

Defined in

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


isEmbeddingQuery?

optional isEmbeddingQuery: boolean = false

Overrides

BaseVectorStore.isEmbeddingQuery

Defined in

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


storesText

storesText: boolean = true

Overrides

BaseVectorStore.storesText

Defined in

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

Methods

add()

add(nodes): Promise<string[]>

Parameters

nodes: BaseNode<Metadata>[]

Returns

Promise<string[]>

Overrides

BaseVectorStore.add

Defined in

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


client()

client(): MilvusClient

Returns

MilvusClient

Overrides

BaseVectorStore.client

Defined in

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


delete()

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

Parameters

refDocId: string

deleteOptions?: Omit<DeleteReq, "ids">

Returns

Promise<void>

Overrides

BaseVectorStore.delete

Defined in

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


persist()

persist(): Promise<void>

Returns

Promise<void>

Defined in

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


query()

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

Parameters

query: VectorStoreQuery

_options?: any

Returns

Promise<VectorStoreQueryResult>

Overrides

BaseVectorStore.query

Defined in

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


toMilvusFilter()

toMilvusFilter(filters?): undefined | string

Parameters

filters?: MetadataFilters

Returns

undefined | string

Defined in

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