Class: Google::Cloud::Dialogflow::V2::Generator
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::Generator
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/generator.rb
Overview
LLM generator.
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#description ⇒ ::String
Optional.
-
#free_form_context ⇒ ::Google::Cloud::Dialogflow::V2::FreeFormContext
Input of free from generator to LLM.
-
#inference_parameter ⇒ ::Google::Cloud::Dialogflow::V2::InferenceParameter
Optional.
-
#name ⇒ ::String
readonly
Output only.
-
#published_model ⇒ ::String
Optional.
-
#summarization_context ⇒ ::Google::Cloud::Dialogflow::V2::SummarizationContext
Input of prebuilt Summarization feature.
-
#trigger_event ⇒ ::Google::Cloud::Dialogflow::V2::TriggerEvent
Optional.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Creation time of this generator.
361 362 363 364 |
# File 'proto_docs/google/cloud/dialogflow/v2/generator.rb', line 361 class Generator include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#description ⇒ ::String
Returns Optional. Human readable description of the generator.
361 362 363 364 |
# File 'proto_docs/google/cloud/dialogflow/v2/generator.rb', line 361 class Generator include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#free_form_context ⇒ ::Google::Cloud::Dialogflow::V2::FreeFormContext
Returns Input of free from generator to LLM.
Note: The following fields are mutually exclusive: free_form_context
, summarization_context
. If a field in that set is populated, all other fields in the set will automatically be cleared.
361 362 363 364 |
# File 'proto_docs/google/cloud/dialogflow/v2/generator.rb', line 361 class Generator include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#inference_parameter ⇒ ::Google::Cloud::Dialogflow::V2::InferenceParameter
Returns Optional. Inference parameters for this generator.
361 362 363 364 |
# File 'proto_docs/google/cloud/dialogflow/v2/generator.rb', line 361 class Generator include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String (readonly)
Returns Output only. Identifier. The resource name of the generator. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
.
361 362 363 364 |
# File 'proto_docs/google/cloud/dialogflow/v2/generator.rb', line 361 class Generator include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#published_model ⇒ ::String
Returns 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
.
361 362 363 364 |
# File 'proto_docs/google/cloud/dialogflow/v2/generator.rb', line 361 class Generator include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#summarization_context ⇒ ::Google::Cloud::Dialogflow::V2::SummarizationContext
Returns Input of prebuilt Summarization feature.
Note: The following fields are mutually exclusive: summarization_context
, free_form_context
. If a field in that set is populated, all other fields in the set will automatically be cleared.
361 362 363 364 |
# File 'proto_docs/google/cloud/dialogflow/v2/generator.rb', line 361 class Generator include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#trigger_event ⇒ ::Google::Cloud::Dialogflow::V2::TriggerEvent
Returns Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.
361 362 363 364 |
# File 'proto_docs/google/cloud/dialogflow/v2/generator.rb', line 361 class Generator include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Update time of this generator.
361 362 363 364 |
# File 'proto_docs/google/cloud/dialogflow/v2/generator.rb', line 361 class Generator include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |