Preparing search index...
The search index is not available
Genkit JS API reference
Genkit JS API reference
genkit
retriever
IndexerFn
Type Alias IndexerFn<IndexerOptions>
IndexerFn
:
(
docs
:
Document
[]
,
indexerOpts
:
TypeOf
<
IndexerOptions
>
,
)
=>
Promise
<
void
>
Indexer implementation function signature.
Type Parameters
IndexerOptions
extends
ZodTypeAny
Type declaration
(
docs
:
Document
[]
,
indexerOpts
:
TypeOf
<
IndexerOptions
>
)
:
Promise
<
void
>
Parameters
docs
:
Document
[]
indexerOpts
:
TypeOf
<
IndexerOptions
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Genkit JS API reference
Loading...
Indexer implementation function signature.