Class: ChromaVectorStore
Extends
Constructors
new ChromaVectorStore()
new ChromaVectorStore(
init
):ChromaVectorStore
Parameters
• init: object
& VectorStoreBaseParams
Returns
Overrides
Defined in
packages/llamaindex/src/vector-store/ChromaVectorStore.ts:56
Properties
embedModel
embedModel:
BaseEmbedding
Inherited from
Defined in
packages/llamaindex/src/vector-store/types.ts:92
flatMetadata
flatMetadata:
boolean
=true
Defined in
packages/llamaindex/src/vector-store/ChromaVectorStore.ts:50
isEmbeddingQuery?
optional
isEmbeddingQuery:boolean
Inherited from
BaseVectorStore
.isEmbeddingQuery
Defined in
packages/llamaindex/src/vector-store/types.ts:94
storesText
storesText:
boolean
=true
Overrides
Defined in
packages/llamaindex/src/vector-store/ChromaVectorStore.ts:49
textKey
textKey:
string
Defined in
packages/llamaindex/src/vector-store/ChromaVectorStore.ts:51
Methods
add()
add(
nodes
):Promise
<string
[]>
Parameters
Returns
Promise
<string
[]>
Overrides
Defined in
packages/llamaindex/src/vector-store/ChromaVectorStore.ts:95
client()
client():
ChromaClient
Returns
ChromaClient
Overrides
Defined in
packages/llamaindex/src/vector-store/ChromaVectorStore.ts:69
delete()
delete(
refDocId
,deleteOptions
?):Promise
<void
>
Parameters
• refDocId: string
• deleteOptions?: ChromaDeleteOptions
Returns
Promise
<void
>
Overrides
Defined in
packages/llamaindex/src/vector-store/ChromaVectorStore.ts:106
getCollection()
getCollection():
Promise
<Collection
>
Returns
Promise
<Collection
>
Defined in
packages/llamaindex/src/vector-store/ChromaVectorStore.ts:73
query()
query(
query
,options
?):Promise
<VectorStoreQueryResult
>
Parameters
• query: VectorStoreQuery
• options?: ChromaQueryOptions
Returns
Promise
<VectorStoreQueryResult
>
Overrides
Defined in
packages/llamaindex/src/vector-store/ChromaVectorStore.ts:191