Class: Google::Cloud::Retail::V2::GenerativeQuestionConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Retail::V2::GenerativeQuestionConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/retail/v2/generative_question.rb
Overview
Configuration for a single generated question.
Instance Attribute Summary collapse
-
#allowed_in_conversation ⇒ ::Boolean
Optional.
-
#catalog ⇒ ::String
Required.
-
#example_values ⇒ ::Array<::String>
readonly
Output only.
-
#facet ⇒ ::String
Required.
-
#final_question ⇒ ::String
Optional.
-
#frequency ⇒ ::Float
readonly
Output only.
-
#generated_question ⇒ ::String
readonly
Output only.
Instance Attribute Details
#allowed_in_conversation ⇒ ::Boolean
Returns Optional. Whether the question is asked at serving time.
68 69 70 71 |
# File 'proto_docs/google/cloud/retail/v2/generative_question.rb', line 68 class GenerativeQuestionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#catalog ⇒ ::String
Returns Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}.
68 69 70 71 |
# File 'proto_docs/google/cloud/retail/v2/generative_question.rb', line 68 class GenerativeQuestionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#example_values ⇒ ::Array<::String> (readonly)
Returns Output only. Values that can be used to answer the question.
68 69 70 71 |
# File 'proto_docs/google/cloud/retail/v2/generative_question.rb', line 68 class GenerativeQuestionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#facet ⇒ ::String
Returns Required. The facet to which the question is associated.
68 69 70 71 |
# File 'proto_docs/google/cloud/retail/v2/generative_question.rb', line 68 class GenerativeQuestionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#final_question ⇒ ::String
Returns Optional. The question that will be used at serving time. Question can have a max length of 300 bytes. When not populated, generated_question should be used.
68 69 70 71 |
# File 'proto_docs/google/cloud/retail/v2/generative_question.rb', line 68 class GenerativeQuestionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#frequency ⇒ ::Float (readonly)
Returns Output only. The ratio of how often a question was asked.
68 69 70 71 |
# File 'proto_docs/google/cloud/retail/v2/generative_question.rb', line 68 class GenerativeQuestionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#generated_question ⇒ ::String (readonly)
Returns Output only. The LLM generated question.
68 69 70 71 |
# File 'proto_docs/google/cloud/retail/v2/generative_question.rb', line 68 class GenerativeQuestionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |