• Preparing search index...
  • The search index is not available
Genkit JS API reference
  • Genkit JS API reference
  • @genkit-ai/vertexai
  • vectorsearch
  • vertexAiIndexers

Function vertexAiIndexers

  • vertexAiIndexers<
        EmbedderCustomOptions extends
            z.ZodType<any, any, any, EmbedderCustomOptions>,
    >(
        ai: Genkit,
        params: VertexVectorSearchOptions<EmbedderCustomOptions>,
    ): IndexerAction<z.ZodTypeAny>[]
  • Creates Vertex AI indexers.

    This function returns a list of indexer actions for Vertex AI based on the provided vector search options and embedder configurations.

    Type Parameters

    • EmbedderCustomOptions extends z.ZodType<any, any, any, EmbedderCustomOptions>

    Parameters

    • ai: Genkit
    • params: VertexVectorSearchOptions<EmbedderCustomOptions>

      The parameters for creating the indexers.

    Returns IndexerAction<z.ZodTypeAny>[]

    • An array of indexer actions.
    • Defined in plugins/vertexai/src/vectorsearch/vector_search/indexers.ts:56

Settings

Member Visibility
Genkit JS API reference
  • Loading...

Generated using TypeDoc with typedoc-github-theme