Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Config for the embedding model to use for RAG.
Instance Attribute Summary collapse
-
#vertex_prediction_endpoint ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint
Config representing a model hosted on Vertex Prediction Endpoint.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig
constructor
A new instance of GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig
Returns a new instance of GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig.
22715 22716 22717 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22715 def initialize(**args) update!(**args) end |
Instance Attribute Details
#vertex_prediction_endpoint ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint
Config representing a model hosted on Vertex Prediction Endpoint.
Corresponds to the JSON property vertexPredictionEndpoint
22713 22714 22715 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22713 def vertex_prediction_endpoint @vertex_prediction_endpoint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22720 22721 22722 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22720 def update!(**args) @vertex_prediction_endpoint = args[:vertex_prediction_endpoint] if args.key?(:vertex_prediction_endpoint) end |