• Preparing search index...
  • The search index is not available
Genkit JS API reference
  • Genkit JS API reference
  • genkit
  • /
  • indexerRef

Function indexerRef

  • indexerRef<
        CustomOptionsSchema extends
            z.ZodType<any, any, any, CustomOptionsSchema> = z.ZodTypeAny,
    >(
        options: IndexerReference<CustomOptionsSchema>,
    ): IndexerReference<CustomOptionsSchema>
  • Helper method to configure a IndexerReference to a plugin.

    Type Parameters

    • CustomOptionsSchema extends z.ZodType<any, any, any, CustomOptionsSchema> = z.ZodTypeAny

    Parameters

    • options: IndexerReference<CustomOptionsSchema>

    Returns IndexerReference<CustomOptionsSchema>

    • Defined in js/ai/lib/retriever.d.ts:671

Settings

Member Visibility
Genkit JS API reference
  • Loading...

Generated using TypeDoc with typedoc-github-theme