GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagEmbeddingModelConfig (google_api_ai_platform v0.27.0)

View Source

Config for the embedding model to use for RAG.

Attributes

  • vertexPredictionEndpoint (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagEmbeddingModelConfigVertexPredictionEndpoint.t, default: nil) - The Vertex AI Prediction Endpoint that either refers to a publisher model or an endpoint that is hosting a 1P fine-tuned text embedding model. Endpoints hosting non-1P fine-tuned text embedding models are currently not supported. This is used for dense vector search.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagEmbeddingModelConfig{
    vertexPredictionEndpoint:
      GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1RagEmbeddingModelConfigVertexPredictionEndpoint.t()
      | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.