pub struct GoogleCloudRetailV2ConversationalSearchResponse {
pub conversation_id: Option<String>,
pub conversational_filtering_result: Option<GoogleCloudRetailV2ConversationalSearchResponseConversationalFilteringResult>,
pub conversational_text_response: Option<String>,
pub followup_question: Option<GoogleCloudRetailV2ConversationalSearchResponseFollowupQuestion>,
pub refined_search: Option<Vec<GoogleCloudRetailV2ConversationalSearchResponseRefinedSearch>>,
pub state: Option<String>,
pub user_query_types: Option<Vec<String>>,
}Expand description
Response message for ConversationalSearchService.ConversationalSearch method.
§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).
Fields§
§conversation_id: Option<String>Conversation UUID. This field will be stored in client side storage to maintain the conversation session with server and will be used for next search request’s ConversationalSearchRequest.conversation_id to restore conversation state in server.
conversational_filtering_result: Option<GoogleCloudRetailV2ConversationalSearchResponseConversationalFilteringResult>This field specifies all related information that is needed on client side for UI rendering of conversational filtering search.
conversational_text_response: Option<String>The conversational answer-based text response generated by the Server.
followup_question: Option<GoogleCloudRetailV2ConversationalSearchResponseFollowupQuestion>The conversational followup question generated for Intent refinement.
refined_search: Option<Vec<GoogleCloudRetailV2ConversationalSearchResponseRefinedSearch>>The proposed refined search queries. They can be used to fetch the relevant search results. When using CONVERSATIONAL_FILTER_ONLY mode, the refined_query from search response will be populated here.
state: Option<String>Output only. The state of the response generation.
user_query_types: Option<Vec<String>>The types Retail classifies the search query as. Supported values are: - “ORDER_SUPPORT” - “SIMPLE_PRODUCT_SEARCH” - “INTENT_REFINEMENT” - “PRODUCT_DETAILS” - “PRODUCT_COMPARISON” - “DEALS_AND_COUPONS” - “STORE_RELEVANT” - “BLOCKLISTED” - “BEST_PRODUCT” - “RETAIL_SUPPORT” - “DISABLED”
Trait Implementations§
Source§impl Clone for GoogleCloudRetailV2ConversationalSearchResponse
impl Clone for GoogleCloudRetailV2ConversationalSearchResponse
Source§fn clone(&self) -> GoogleCloudRetailV2ConversationalSearchResponse
fn clone(&self) -> GoogleCloudRetailV2ConversationalSearchResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more