Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals
- 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
Overview
Diagnostic info related to the answer generation model call.
Instance Attribute Summary collapse
-
#model ⇒ String
Name of the generative model.
-
#model_output ⇒ String
Output of the generative model.
-
#rendered_prompt ⇒ String
Prompt as sent to the model.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals
constructor
A new instance of GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals
Returns a new instance of GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals.
1462 1463 1464 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1462 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model ⇒ String
Name of the generative model. For example, "gemini-ultra", "gemini-pro", "
gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown.
Corresponds to the JSON property model
1450 1451 1452 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1450 def model @model end |
#model_output ⇒ String
Output of the generative model.
Corresponds to the JSON property modelOutput
1455 1456 1457 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1455 def model_output @model_output end |
#rendered_prompt ⇒ String
Prompt as sent to the model.
Corresponds to the JSON property renderedPrompt
1460 1461 1462 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1460 def rendered_prompt @rendered_prompt end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1467 1468 1469 1470 1471 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1467 def update!(**args) @model = args[:model] if args.key?(:model) @model_output = args[:model_output] if args.key?(:model_output) @rendered_prompt = args[:rendered_prompt] if args.key?(:rendered_prompt) end |