Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals
- 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
Diagnostic info related to the answer generation model call.
Instance Attribute Summary collapse
-
#model_output ⇒ String
Output of the generative model.
-
#rendered_prompt ⇒ String
Prompt as sent to the model.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals
constructor
A new instance of GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals
Returns a new instance of GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals.
5520 5521 5522 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5520 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model_output ⇒ String
Output of the generative model.
Corresponds to the JSON property modelOutput
5513 5514 5515 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5513 def model_output @model_output end |
#rendered_prompt ⇒ String
Prompt as sent to the model.
Corresponds to the JSON property renderedPrompt
5518 5519 5520 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5518 def rendered_prompt @rendered_prompt end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5525 5526 5527 5528 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5525 def update!(**args) @model_output = args[:model_output] if args.key?(:model_output) @rendered_prompt = args[:rendered_prompt] if args.key?(:rendered_prompt) end |