Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::GenerativeSettings.
Settings for Generative AI.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#fallback_settings
def fallback_settings() -> ::Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::FallbackSettings
Returns
- (::Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::FallbackSettings) — Settings for Generative Fallback.
#fallback_settings=
def fallback_settings=(value) -> ::Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::FallbackSettings
Parameter
- value (::Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::FallbackSettings) — Settings for Generative Fallback.
Returns
- (::Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::FallbackSettings) — Settings for Generative Fallback.
#generative_safety_settings
def generative_safety_settings() -> ::Google::Cloud::Dialogflow::CX::V3::SafetySettings
Returns
- (::Google::Cloud::Dialogflow::CX::V3::SafetySettings) — Settings for Generative Safety.
#generative_safety_settings=
def generative_safety_settings=(value) -> ::Google::Cloud::Dialogflow::CX::V3::SafetySettings
Parameter
- value (::Google::Cloud::Dialogflow::CX::V3::SafetySettings) — Settings for Generative Safety.
Returns
- (::Google::Cloud::Dialogflow::CX::V3::SafetySettings) — Settings for Generative Safety.
#knowledge_connector_settings
def knowledge_connector_settings() -> ::Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::KnowledgeConnectorSettings
Returns
- (::Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::KnowledgeConnectorSettings) — Settings for knowledge connector.
#knowledge_connector_settings=
def knowledge_connector_settings=(value) -> ::Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::KnowledgeConnectorSettings
Parameter
- value (::Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::KnowledgeConnectorSettings) — Settings for knowledge connector.
Returns
- (::Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::KnowledgeConnectorSettings) — Settings for knowledge connector.
#language_code
def language_code() -> ::String
Returns
- (::String) — Language for this settings.
#language_code=
def language_code=(value) -> ::String
Parameter
- value (::String) — Language for this settings.
Returns
- (::String) — Language for this settings.
#name
def name() -> ::String
Returns
-
(::String) — Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/generativeSettings
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/generativeSettings
.
Returns
-
(::String) — Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/generativeSettings
.