Genkit JS API reference
Preparing search index...
genkitx-chromadb
chromaIndexer
Function chromaIndexer
chromaIndexer
<
EmbedderCustomOptions
extends
z
.
ZodTypeAny
>
(
ai
:
Genkit
,
params
:
{
clientParams
?:
ChromaClientParams
;
collectionName
:
string
;
createCollectionIfMissing
?:
boolean
;
embedder
:
EmbedderArgument
<
EmbedderCustomOptions
>
;
embedderOptions
?:
z
.
TypeOf
<
EmbedderCustomOptions
>
;
}
,
)
:
IndexerAction
<
z
.
ZodOptional
<
z
.
ZodNull
>
>
Configures a Chroma indexer.
Type Parameters
EmbedderCustomOptions
extends
z
.
ZodTypeAny
Parameters
ai
:
Genkit
params
:
{
clientParams
?:
ChromaClientParams
;
collectionName
:
string
;
createCollectionIfMissing
?:
boolean
;
embedder
:
EmbedderArgument
<
EmbedderCustomOptions
>
;
embedderOptions
?:
z
.
TypeOf
<
EmbedderCustomOptions
>
;
}
Returns
IndexerAction
<
z
.
ZodOptional
<
z
.
ZodNull
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Genkit JS API reference
Loading...
Configures a Chroma indexer.