Class: ChromaVectorStore
Extends
Implements
Constructors
new ChromaVectorStore()
new ChromaVectorStore(
init
):ChromaVectorStore
Parameters
• init: object
& Partial
<IEmbedModel
>
Returns
Overrides
Source
packages/core/src/storage/vectorStore/ChromaVectorStore.ts:44
Properties
chromaClient
private
chromaClient:ChromaClient
Source
packages/core/src/storage/vectorStore/ChromaVectorStore.ts:40
collection
private
collection:null
|Collection
=null
Source
packages/core/src/storage/vectorStore/ChromaVectorStore.ts:41
collectionName
private
collectionName:string
Source
packages/core/src/storage/vectorStore/ChromaVectorStore.ts:42
embedModel
embedModel:
BaseEmbedding
Inherited from
Source
packages/core/src/storage/vectorStore/types.ts:86
flatMetadata
flatMetadata:
boolean
=true
Source
packages/core/src/storage/vectorStore/ChromaVectorStore.ts:38
storesText
storesText:
boolean
=true
Implementation of
VectorStoreNoEmbedModel
. storesText
Source
packages/core/src/storage/vectorStore/ChromaVectorStore.ts:37
textKey
textKey:
string
Source
packages/core/src/storage/vectorStore/ChromaVectorStore.ts:39
Methods
add()
add(
nodes
):Promise
<string
[]>
Parameters
• nodes: BaseNode
<Metadata
>[]
Returns
Promise
<string
[]>