Class: MilvusVectorStore
Implements
Constructors
new MilvusVectorStore()
new MilvusVectorStore(
init
?):MilvusVectorStore
Parameters
• init?: Partial
<object
> & object
Returns
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:32
Properties
collectionInitialized
private
collectionInitialized:boolean
=false
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:24
collectionName
private
collectionName:string
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:25
contentKey
private
contentKey:string
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:28
embeddingKey
private
embeddingKey:string
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:30
flatMetadata
private
flatMetadata:boolean
=true
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:21
idKey
private
idKey:string
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:27
isEmbeddingQuery?
optional
isEmbeddingQuery:boolean
Implementation of
VectorStore
. isEmbeddingQuery
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:20
metadataKey
private
metadataKey:string
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:29
milvusClient
private
milvusClient:MilvusClient
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:23
storesText
storesText:
boolean
=true
Implementation of
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:19
Methods
add()
add(
nodes
):Promise
<string
[]>
Parameters
• nodes: BaseNode
<Metadata
>[]
Returns
Promise
<string
[]>
Implementation of
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:131
client()
client():
MilvusClient
Returns
MilvusClient
Implementation of
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:76
createCollection()
private
createCollection():Promise
<void
>
Returns
Promise
<void
>
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:80
delete()
delete(
refDocId
,deleteOptions
?):Promise
<void
>
Parameters
• refDocId: string
• deleteOptions?: Omit
<DeleteReq
, "ids"
>
Returns
Promise
<void
>
Implementation of
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:166
ensureCollection()
private
ensureCollection():Promise
<void
>
Returns
Promise
<void
>
Source
packages/core/src/storage/vectorStore/MilvusVectorStore.ts:112
persist()
persist():
Promise
<void
>