Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
Settings for Generative AI.
Instance Attribute Summary collapse
-
#fallback_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings
Settings for Generative Fallback.
-
#generative_safety_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SafetySettings
Settings for Generative Safety.
-
#knowledge_connector_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
Settings for knowledge connector.
-
#language_code ⇒ String
Language for this settings.
-
#name ⇒ String
Format:
projects//locations//agents//generativeSettings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3GenerativeSettings
constructor
A new instance of GoogleCloudDialogflowCxV3GenerativeSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3GenerativeSettings
Returns a new instance of GoogleCloudDialogflowCxV3GenerativeSettings.
2841 2842 2843 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2841 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fallback_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings
Settings for Generative Fallback.
Corresponds to the JSON property fallbackSettings
2817 2818 2819 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2817 def fallback_settings @fallback_settings end |
#generative_safety_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SafetySettings
Settings for Generative Safety.
Corresponds to the JSON property generativeSafetySettings
2822 2823 2824 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2822 def generative_safety_settings @generative_safety_settings end |
#knowledge_connector_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
Settings for knowledge connector. These parameters are used for LLM prompt
like "You are . You are a helpful and verbose at , . Your task is to help
humans on ".
Corresponds to the JSON property knowledgeConnectorSettings
2829 2830 2831 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2829 def knowledge_connector_settings @knowledge_connector_settings end |
#language_code ⇒ String
Language for this settings.
Corresponds to the JSON property languageCode
2834 2835 2836 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2834 def language_code @language_code end |
#name ⇒ String
Format: projects//locations//agents//generativeSettings.
Corresponds to the JSON property name
2839 2840 2841 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2839 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2846 2847 2848 2849 2850 2851 2852 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2846 def update!(**args) @fallback_settings = args[:fallback_settings] if args.key?(:fallback_settings) @generative_safety_settings = args[:generative_safety_settings] if args.key?(:generative_safety_settings) @knowledge_connector_settings = args[:knowledge_connector_settings] if args.key?(:knowledge_connector_settings) @language_code = args[:language_code] if args.key?(:language_code) @name = args[:name] if args.key?(:name) end |