Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::Generator.
LLM generator.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#agent_coaching_context
def agent_coaching_context() -> ::Google::Cloud::Dialogflow::V2::AgentCoachingContext-
(::Google::Cloud::Dialogflow::V2::AgentCoachingContext) — Input of prebuilt Agent Coaching feature.
Note: The following fields are mutually exclusive:
agent_coaching_context,free_form_context,summarization_context. If a field in that set is populated, all other fields in the set will automatically be cleared.
#agent_coaching_context=
def agent_coaching_context=(value) -> ::Google::Cloud::Dialogflow::V2::AgentCoachingContext-
value (::Google::Cloud::Dialogflow::V2::AgentCoachingContext) — Input of prebuilt Agent Coaching feature.
Note: The following fields are mutually exclusive:
agent_coaching_context,free_form_context,summarization_context. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::V2::AgentCoachingContext) — Input of prebuilt Agent Coaching feature.
Note: The following fields are mutually exclusive:
agent_coaching_context,free_form_context,summarization_context. If a field in that set is populated, all other fields in the set will automatically be cleared.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Creation time of this generator.
#description
def description() -> ::String- (::String) — Optional. Human readable description of the generator.
#description=
def description=(value) -> ::String- value (::String) — Optional. Human readable description of the generator.
- (::String) — Optional. Human readable description of the generator.
#free_form_context
def free_form_context() -> ::Google::Cloud::Dialogflow::V2::FreeFormContext-
(::Google::Cloud::Dialogflow::V2::FreeFormContext) — Input of free from generator to LLM.
Note: The following fields are mutually exclusive:
free_form_context,agent_coaching_context,summarization_context. If a field in that set is populated, all other fields in the set will automatically be cleared.
#free_form_context=
def free_form_context=(value) -> ::Google::Cloud::Dialogflow::V2::FreeFormContext-
value (::Google::Cloud::Dialogflow::V2::FreeFormContext) — Input of free from generator to LLM.
Note: The following fields are mutually exclusive:
free_form_context,agent_coaching_context,summarization_context. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::V2::FreeFormContext) — Input of free from generator to LLM.
Note: The following fields are mutually exclusive:
free_form_context,agent_coaching_context,summarization_context. If a field in that set is populated, all other fields in the set will automatically be cleared.
#inference_parameter
def inference_parameter() -> ::Google::Cloud::Dialogflow::V2::InferenceParameter- (::Google::Cloud::Dialogflow::V2::InferenceParameter) — Optional. Inference parameters for this generator.
#inference_parameter=
def inference_parameter=(value) -> ::Google::Cloud::Dialogflow::V2::InferenceParameter- value (::Google::Cloud::Dialogflow::V2::InferenceParameter) — Optional. Inference parameters for this generator.
- (::Google::Cloud::Dialogflow::V2::InferenceParameter) — Optional. Inference parameters for this generator.
#name
def name() -> ::String-
(::String) — Output only. Identifier. The resource name of the generator. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
#published_model
def published_model() -> ::String-
(::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.
- To use the latest model version, specify the model name without version
number. Example:
#published_model=
def published_model=(value) -> ::String-
value (::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.
- To use the latest model version, specify the model name without version
number. Example:
-
(::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.
- To use the latest model version, specify the model name without version
number. Example:
#suggestion_deduping_config
def suggestion_deduping_config() -> ::Google::Cloud::Dialogflow::V2::SuggestionDedupingConfig- (::Google::Cloud::Dialogflow::V2::SuggestionDedupingConfig) — Optional. Configuration for suggestion deduping. This is only applicable to AI Coach feature.
#suggestion_deduping_config=
def suggestion_deduping_config=(value) -> ::Google::Cloud::Dialogflow::V2::SuggestionDedupingConfig- value (::Google::Cloud::Dialogflow::V2::SuggestionDedupingConfig) — Optional. Configuration for suggestion deduping. This is only applicable to AI Coach feature.
- (::Google::Cloud::Dialogflow::V2::SuggestionDedupingConfig) — Optional. Configuration for suggestion deduping. This is only applicable to AI Coach feature.
#summarization_context
def summarization_context() -> ::Google::Cloud::Dialogflow::V2::SummarizationContext-
(::Google::Cloud::Dialogflow::V2::SummarizationContext) — Input of prebuilt Summarization feature.
Note: The following fields are mutually exclusive:
summarization_context,free_form_context,agent_coaching_context. If a field in that set is populated, all other fields in the set will automatically be cleared.
#summarization_context=
def summarization_context=(value) -> ::Google::Cloud::Dialogflow::V2::SummarizationContext-
value (::Google::Cloud::Dialogflow::V2::SummarizationContext) — Input of prebuilt Summarization feature.
Note: The following fields are mutually exclusive:
summarization_context,free_form_context,agent_coaching_context. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::V2::SummarizationContext) — Input of prebuilt Summarization feature.
Note: The following fields are mutually exclusive:
summarization_context,free_form_context,agent_coaching_context. If a field in that set is populated, all other fields in the set will automatically be cleared.
#tools
def tools() -> ::Array<::String>-
(::Array<::String>) — Optional. Resource names of the tools that the generator can choose from.
Format:
projects/<Project ID>/locations/<Location ID>/tools/<tool ID>.
#tools=
def tools=(value) -> ::Array<::String>-
value (::Array<::String>) — Optional. Resource names of the tools that the generator can choose from.
Format:
projects/<Project ID>/locations/<Location ID>/tools/<tool ID>.
-
(::Array<::String>) — Optional. Resource names of the tools that the generator can choose from.
Format:
projects/<Project ID>/locations/<Location ID>/tools/<tool ID>.
#trigger_event
def trigger_event() -> ::Google::Cloud::Dialogflow::V2::TriggerEvent- (::Google::Cloud::Dialogflow::V2::TriggerEvent) — Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.
#trigger_event=
def trigger_event=(value) -> ::Google::Cloud::Dialogflow::V2::TriggerEvent- value (::Google::Cloud::Dialogflow::V2::TriggerEvent) — Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.
- (::Google::Cloud::Dialogflow::V2::TriggerEvent) — Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Update time of this generator.