Class: Google::Cloud::AIPlatform::V1::RagEmbeddingModelConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/vertex_rag_data.rb

Overview

Config for the embedding model to use for RAG.

Defined Under Namespace

Classes: VertexPredictionEndpoint

Instance Attribute Summary collapse

Instance Attribute Details

#vertex_prediction_endpoint::Google::Cloud::AIPlatform::V1::RagEmbeddingModelConfig::VertexPredictionEndpoint

Returns 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.

Returns:



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# File 'proto_docs/google/cloud/aiplatform/v1/vertex_rag_data.rb', line 32

class RagEmbeddingModelConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Config representing a model hosted on Vertex Prediction Endpoint.
  # @!attribute [rw] endpoint
  #   @return [::String]
  #     Required. The endpoint resource name.
  #     Format:
  #     `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`
  #     or
  #     `projects/{project}/locations/{location}/endpoints/{endpoint}`
  # @!attribute [r] model
  #   @return [::String]
  #     Output only. The resource name of the model that is deployed on the
  #     endpoint. Present only when the endpoint is not a publisher model.
  #     Pattern:
  #     `projects/{project}/locations/{location}/models/{model}`
  # @!attribute [r] model_version_id
  #   @return [::String]
  #     Output only. Version ID of the model that is deployed on the endpoint.
  #     Present only when the endpoint is not a publisher model.
  class VertexPredictionEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end