Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals

Returns a new instance of GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals.



5620
5621
5622
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5620

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#model_outputString

Output of the generative model. Corresponds to the JSON property modelOutput

Returns:

  • (String)


5613
5614
5615
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5613

def model_output
  @model_output
end

#rendered_promptString

Prompt as sent to the model. Corresponds to the JSON property renderedPrompt

Returns:

  • (String)


5618
5619
5620
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5618

def rendered_prompt
  @rendered_prompt
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5625
5626
5627
5628
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5625

def update!(**args)
  @model_output = args[:model_output] if args.key?(:model_output)
  @rendered_prompt = args[:rendered_prompt] if args.key?(:rendered_prompt)
end