pub struct GoogleCloudRetailV2GenerativeQuestionConfig {
pub allowed_in_conversation: Option<bool>,
pub catalog: Option<String>,
pub example_values: Option<Vec<String>>,
pub facet: Option<String>,
pub final_question: Option<String>,
pub frequency: Option<f32>,
pub generated_question: Option<String>,
}Expand description
Configuration for a single generated question.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations catalogs update generative question projects (request|response)
Fields§
§allowed_in_conversation: Option<bool>Optional. Whether the question is asked at serving time.
catalog: Option<String>Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}
example_values: Option<Vec<String>>Output only. Values that can be used to answer the question.
facet: Option<String>Required. The facet to which the question is associated.
final_question: Option<String>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.
frequency: Option<f32>Output only. The ratio of how often a question was asked.
generated_question: Option<String>Output only. The LLM generated question.
Trait Implementations§
Source§impl Clone for GoogleCloudRetailV2GenerativeQuestionConfig
impl Clone for GoogleCloudRetailV2GenerativeQuestionConfig
Source§fn clone(&self) -> GoogleCloudRetailV2GenerativeQuestionConfig
fn clone(&self) -> GoogleCloudRetailV2GenerativeQuestionConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more