Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmCall
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmCall
- 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. -
#retrieved_examples ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample>
Corresponds to the JSON property
retrievedExamples. -
#temperature ⇒ Float
Corresponds to the JSON property
temperature. -
#token_count ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmCallTokenCount
Corresponds to the JSON property
tokenCount.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1LlmCall
constructor
A new instance of GoogleCloudDialogflowCxV3beta1LlmCall.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1LlmCall
Returns a new instance of GoogleCloudDialogflowCxV3beta1LlmCall.
9534 9535 9536 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9534 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model ⇒ String
Corresponds to the JSON property model
9517 9518 9519 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9517 def model @model end |
#retrieved_examples ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample>
Corresponds to the JSON property retrievedExamples
9522 9523 9524 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9522 def retrieved_examples @retrieved_examples end |
#temperature ⇒ Float
Corresponds to the JSON property temperature
9527 9528 9529 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9527 def temperature @temperature end |
#token_count ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmCallTokenCount
Corresponds to the JSON property tokenCount
9532 9533 9534 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9532 def token_count @token_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9539 9540 9541 9542 9543 9544 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9539 def update!(**args) @model = args[:model] if args.key?(:model) @retrieved_examples = args[:retrieved_examples] if args.key?(:retrieved_examples) @temperature = args[:temperature] if args.key?(:temperature) @token_count = args[:token_count] if args.key?(:token_count) end |