Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmModelSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmModelSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Instance Attribute Summary collapse
-
#model ⇒ String
Corresponds to the JSON property
model. -
#parameters ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters
Corresponds to the JSON property
parameters. -
#prompt_text ⇒ String
Corresponds to the JSON property
promptText.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1LlmModelSettings
constructor
A new instance of GoogleCloudDialogflowCxV3beta1LlmModelSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1LlmModelSettings
Returns a new instance of GoogleCloudDialogflowCxV3beta1LlmModelSettings.
9628 9629 9630 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9628 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model ⇒ String
Corresponds to the JSON property model
9616 9617 9618 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9616 def model @model end |
#parameters ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters
Corresponds to the JSON property parameters
9621 9622 9623 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9621 def parameters @parameters end |
#prompt_text ⇒ String
Corresponds to the JSON property promptText
9626 9627 9628 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9626 def prompt_text @prompt_text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9633 9634 9635 9636 9637 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9633 def update!(**args) @model = args[:model] if args.key?(:model) @parameters = args[:parameters] if args.key?(:parameters) @prompt_text = args[:prompt_text] if args.key?(:prompt_text) end |