Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FreeFormContext
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FreeFormContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
Free form generator context that customer can configure.
Instance Attribute Summary collapse
-
#text ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2FreeFormContext
constructor
A new instance of GoogleCloudDialogflowV2FreeFormContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2FreeFormContext
Returns a new instance of GoogleCloudDialogflowV2FreeFormContext.
11424 11425 11426 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11424 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text ⇒ String
Optional. Free form text input to LLM.
Corresponds to the JSON property text
11422 11423 11424 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11422 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11429 11430 11431 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11429 def update!(**args) @text = args[:text] if args.key?(:text) end |