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
Overview
Settings for LLM models.
Instance Attribute Summary collapse
-
#model ⇒ String
The selected LLM model.
-
#prompt_text ⇒ String
The custom prompt to use.
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.
9869 9870 9871 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9869 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model ⇒ String
The selected LLM model.
Corresponds to the JSON property model
9862 9863 9864 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9862 def model @model end |
#prompt_text ⇒ String
The custom prompt to use.
Corresponds to the JSON property promptText
9867 9868 9869 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9867 def prompt_text @prompt_text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9874 9875 9876 9877 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9874 def update!(**args) @model = args[:model] if args.key?(:model) @prompt_text = args[:prompt_text] if args.key?(:prompt_text) end |