Class: ChromaVectorStore
Implements
Constructors
constructor
• new ChromaVectorStore(init
): ChromaVectorStore
Parameters
Name | Type |
---|---|
init | Object |
init.chromaClientParams? | ChromaClientParams |
init.collectionName | string |
init.textKey? | string |
Returns
Defined in
packages/core/src/storage/vectorStore/ChromaVectorStore.ts:39
Properties
chromaClient
• Private
chromaClient: ChromaClient
Defined in
packages/core/src/storage/vectorStore/ChromaVectorStore.ts:35
collection
• Private
collection: null
| Collection
= null
Defined in
packages/core/src/storage/vectorStore/ChromaVectorStore.ts:36
collectionName
• Private
collectionName: string
Defined in
packages/core/src/storage/vectorStore/ChromaVectorStore.ts:37
flatMetadata
• flatMetadata: boolean
= true
Defined in
packages/core/src/storage/vectorStore/ChromaVectorStore.ts:33
storesText
• storesText: boolean
= true
Implementation of
Defined in
packages/core/src/storage/vectorStore/ChromaVectorStore.ts:32
textKey
• textKey: string
Defined in
packages/core/src/storage/vectorStore/ChromaVectorStore.ts:34
Methods
add
▸ add(nodes
): Promise
<string
[]>
Parameters
Name | Type |
---|---|
nodes | BaseNode <Metadata >[] |