Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3LlmModelSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3LlmModelSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#model ⇒ String
Corresponds to the JSON property
model. -
#prompt_text ⇒ String
Corresponds to the JSON property
promptText.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3LlmModelSettings
constructor
A new instance of GoogleCloudDialogflowCxV3LlmModelSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3LlmModelSettings
Returns a new instance of GoogleCloudDialogflowCxV3LlmModelSettings.
5284 5285 5286 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5284 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model ⇒ String
Corresponds to the JSON property model
5277 5278 5279 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5277 def model @model end |
#prompt_text ⇒ String
Corresponds to the JSON property promptText
5282 5283 5284 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5282 def prompt_text @prompt_text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5289 5290 5291 5292 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5289 def update!(**args) @model = args[:model] if args.key?(:model) @prompt_text = args[:prompt_text] if args.key?(:prompt_text) end |