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

Function rerankerRef

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

    Type Parameters

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

    Parameters

    • options: RerankerReference<CustomOptionsSchema>

    Returns RerankerReference<CustomOptionsSchema>

    • Defined in js/ai/lib/reranker.d.ts:751

Settings

Member Visibility
Genkit JS API reference
  • Loading...

Generated using TypeDoc with typedoc-github-theme