Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator
- 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
LLM generator.
Instance Attribute Summary collapse
-
#agent_coaching_context ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingContext
Agent Coaching context that customer can configure.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#free_form_context ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FreeFormContext
Free form generator context that customer can configure.
-
#inference_parameter ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InferenceParameter
The parameters of inference.
-
#name ⇒ String
Output only.
-
#published_model ⇒ String
Optional.
-
#suggestion_deduping_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionDedupingConfig
Config for suggestion deduping.
-
#summarization_context ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationContext
Summarization context that customer can configure.
-
#tools ⇒ Array<String>
Optional.
-
#trigger_event ⇒ String
Optional.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2Generator
constructor
A new instance of GoogleCloudDialogflowV2Generator.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2Generator
Returns a new instance of GoogleCloudDialogflowV2Generator.
11993 11994 11995 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11993 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_coaching_context ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingContext
Agent Coaching context that customer can configure.
Corresponds to the JSON property agentCoachingContext
11930 11931 11932 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11930 def agent_coaching_context @agent_coaching_context end |
#create_time ⇒ String
Output only. Creation time of this generator.
Corresponds to the JSON property createTime
11935 11936 11937 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11935 def create_time @create_time end |
#description ⇒ String
Optional. Human readable description of the generator.
Corresponds to the JSON property description
11940 11941 11942 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11940 def description @description end |
#free_form_context ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FreeFormContext
Free form generator context that customer can configure.
Corresponds to the JSON property freeFormContext
11945 11946 11947 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11945 def free_form_context @free_form_context end |
#inference_parameter ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InferenceParameter
The parameters of inference.
Corresponds to the JSON property inferenceParameter
11950 11951 11952 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11950 def inference_parameter @inference_parameter end |
#name ⇒ String
Output only. Identifier. The resource name of the generator. Format: projects/
/locations//generators/
Corresponds to the JSON property name
11956 11957 11958 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11956 def name @name end |
#published_model ⇒ String
Optional. The published Large Language Model name. * To use the latest model
version, specify the model name without version number. Example: text-bison *
To use a stable model version, specify the version number as well. Example:
text-bison@002.
Corresponds to the JSON property publishedModel
11964 11965 11966 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11964 def published_model @published_model end |
#suggestion_deduping_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionDedupingConfig
Config for suggestion deduping. NEXT_ID: 3
Corresponds to the JSON property suggestionDedupingConfig
11969 11970 11971 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11969 def suggestion_deduping_config @suggestion_deduping_config end |
#summarization_context ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationContext
Summarization context that customer can configure.
Corresponds to the JSON property summarizationContext
11974 11975 11976 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11974 def summarization_context @summarization_context end |
#tools ⇒ Array<String>
Optional. Resource names of the tools that the generator can choose from.
Format: projects//locations//tools/.
Corresponds to the JSON property tools
11980 11981 11982 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11980 def tools @tools end |
#trigger_event ⇒ String
Optional. The trigger event of the generator. It defines when the generator is
triggered in a conversation.
Corresponds to the JSON property triggerEvent
11986 11987 11988 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11986 def trigger_event @trigger_event end |
#update_time ⇒ String
Output only. Update time of this generator.
Corresponds to the JSON property updateTime
11991 11992 11993 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11991 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11998 def update!(**args) @agent_coaching_context = args[:agent_coaching_context] if args.key?(:agent_coaching_context) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @free_form_context = args[:free_form_context] if args.key?(:free_form_context) @inference_parameter = args[:inference_parameter] if args.key?(:inference_parameter) @name = args[:name] if args.key?(:name) @published_model = args[:published_model] if args.key?(:published_model) @suggestion_deduping_config = args[:suggestion_deduping_config] if args.key?(:suggestion_deduping_config) @summarization_context = args[:summarization_context] if args.key?(:summarization_context) @tools = args[:tools] if args.key?(:tools) @trigger_event = args[:trigger_event] if args.key?(:trigger_event) @update_time = args[:update_time] if args.key?(:update_time) end |