Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters
- 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
-
#input_token_limit ⇒ String
Corresponds to the JSON property
inputTokenLimit. -
#output_token_limit ⇒ String
Corresponds to the JSON property
outputTokenLimit. -
#temperature ⇒ Float
Corresponds to the JSON property
temperature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters
constructor
A new instance of GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters
Returns a new instance of GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters.
9659 9660 9661 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9659 def initialize(**args) update!(**args) end |
Instance Attribute Details
#input_token_limit ⇒ String
Corresponds to the JSON property inputTokenLimit
9647 9648 9649 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9647 def input_token_limit @input_token_limit end |
#output_token_limit ⇒ String
Corresponds to the JSON property outputTokenLimit
9652 9653 9654 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9652 def output_token_limit @output_token_limit end |
#temperature ⇒ Float
Corresponds to the JSON property temperature
9657 9658 9659 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9657 def temperature @temperature end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9664 9665 9666 9667 9668 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9664 def update!(**args) @input_token_limit = args[:input_token_limit] if args.key?(:input_token_limit) @output_token_limit = args[:output_token_limit] if args.key?(:output_token_limit) @temperature = args[:temperature] if args.key?(:temperature) end |