Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Assistant generation specification for the request. This allows to override the default generation configuration at the engine level.
Instance Attribute Summary collapse
-
#model_id ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec
Returns a new instance of GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec.
32755 32756 32757 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32755 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model_id ⇒ String
Optional. The Vertex AI model_id used for the generative model. If not set,
the default Assistant model will be used.
Corresponds to the JSON property modelId
32753 32754 32755 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32753 def model_id @model_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
32760 32761 32762 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32760 def update!(**args) @model_id = args[:model_id] if args.key?(:model_id) end |