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