Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals
- 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 rewriter 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) ⇒ GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals
constructor
A new instance of GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals
6396 6397 6398 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6396 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
6384 6385 6386 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6384 def model @model end |
#model_output ⇒ String
Output of the generative model.
Corresponds to the JSON property modelOutput
6389 6390 6391 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6389 def model_output @model_output end |
#rendered_prompt ⇒ String
Prompt as sent to the model.
Corresponds to the JSON property renderedPrompt
6394 6395 6396 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6394 def rendered_prompt @rendered_prompt end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6401 6402 6403 6404 6405 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6401 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 |