Class: MilvusVectorStore
Extends
Implements
Constructors
new MilvusVectorStore()
new MilvusVectorStore(
init
?):MilvusVectorStore
Parameters
• init?: Partial
<object
> & Partial
<IEmbedModel
> & object
Returns
Overrides
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:37
Properties
collectionInitialized
private
collectionInitialized:boolean
=false
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:29
collectionName
private
collectionName:string
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:30
contentKey
private
contentKey:string
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:33
embedModel
embedModel:
BaseEmbedding
Inherited from
Source
packages/core/src/storage/vectorStore/types.ts:86
embeddingKey
private
embeddingKey:string
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:35
flatMetadata
private
flatMetadata:boolean
=true
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:26
idKey
private
idKey:string
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:32
isEmbeddingQuery?
optional
isEmbeddingQuery:boolean
Implementation of
VectorStoreNoEmbedModel
. isEmbeddingQuery
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:25
metadataKey
private
metadataKey:string
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:34
milvusClient
private
milvusClient:MilvusClient
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:28
storesText
storesText:
boolean
=true
Implementation of
VectorStoreNoEmbedModel
. storesText
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:24
Methods
add()
add(
nodes
):Promise
<string
[]>
Parameters
• nodes: BaseNode
<Metadata
>[]
Returns
Promise
<string
[]>
Implementation of
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:138
client()
client():
MilvusClient
Returns
MilvusClient
Implementation of
VectorStoreNoEmbedModel
. client
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:83
createCollection()
private
createCollection():Promise
<void
>