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.
9522 9523 9524 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9522 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model ⇒ String
Corresponds to the JSON property model
9505 9506 9507 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9505 def model @model end |
#retrieved_examples ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmCallRetrievedExample>
Corresponds to the JSON property retrievedExamples
9510 9511 9512 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9510 def retrieved_examples @retrieved_examples end |
#temperature ⇒ Float
Corresponds to the JSON property temperature
9515 9516 9517 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9515 def temperature @temperature end |
#token_count ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmCallTokenCount
Corresponds to the JSON property tokenCount
9520 9521 9522 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9520 def token_count @token_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9527 9528 9529 9530 9531 9532 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9527 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 |