Class: ChromaVectorStore
Extends
Implements
Constructors
new ChromaVectorStore()
new ChromaVectorStore(
init
):ChromaVectorStore
Parameters
• init: object
& Partial
<IEmbedModel
>
Returns
Overrides
Defined in
packages/llamaindex/src/storage/vectorStore/ChromaVectorStore.ts:47
Properties
embedModel
embedModel:
BaseEmbedding
Inherited from
Defined in
packages/llamaindex/src/storage/vectorStore/types.ts:104
flatMetadata
flatMetadata:
boolean
=true
Defined in
packages/llamaindex/src/storage/vectorStore/ChromaVectorStore.ts:41
storesText
storesText:
boolean
=true
Implementation of
VectorStoreNoEmbedModel
.storesText
Defined in
packages/llamaindex/src/storage/vectorStore/ChromaVectorStore.ts:40
textKey
textKey:
string
Defined in
packages/llamaindex/src/storage/vectorStore/ChromaVectorStore.ts:42
Methods
add()
add(
nodes
):Promise
<string
[]>
Parameters
Returns
Promise
<string
[]>
Implementation of
Defined in
packages/llamaindex/src/storage/vectorStore/ChromaVectorStore.ts:86
client()
client():
ChromaClient
Returns
ChromaClient
Implementation of
VectorStoreNoEmbedModel
.client
Defined in
packages/llamaindex/src/storage/vectorStore/ChromaVectorStore.ts:60
delete()
delete(
refDocId
,deleteOptions
?):Promise
<void
>
Parameters
• refDocId: string
• deleteOptions?: ChromaDeleteOptions
Returns
Promise
<void
>
Implementation of
VectorStoreNoEmbedModel
.delete
Defined in
packages/llamaindex/src/storage/vectorStore/ChromaVectorStore.ts:97
getCollection()
getCollection():
Promise
<Collection
>
Returns
Promise
<Collection
>
Defined in
packages/llamaindex/src/storage/vectorStore/ChromaVectorStore.ts:64
query()
query(
query
,options
?):Promise
<VectorStoreQueryResult
>
Parameters
• query: VectorStoreQuery
• options?: ChromaQueryOptions
Returns
Promise
<VectorStoreQueryResult
>
Implementation of
Defined in
packages/llamaindex/src/storage/vectorStore/ChromaVectorStore.ts:109