# Class ConversationalSearchResponse (2.11.0)

2.11.0 (latest) 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.25.0 1.24.0 1.23.1 1.22.0 1.21.2 1.20.1 1.19.1 1.18.0 1.17.0 1.16.3 1.15.1 1.14.1 1.13.0 1.12.0 1.11.0 1.10.2 1.9.0 1.8.1 1.7.0 1.6.1 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.2 0.4.2 0.3.1 0.2.0 0.1.0

    ConversationalSearchResponse(
        mapping=None, *, ignore_unknown_fields=False, **kwargs
    )

Response message for
ConversationalSearchService.ConversationalSearch
method.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `user_query_types` | `MutableSequence[str]` 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". |
| `conversational_text_response` | `str` The conversational answer-based text response generated by the Server. |
| `followup_question` | `https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ConversationalSearchResponse.FollowupQuestion` The conversational followup question generated for Intent refinement. |
| `conversation_id` | `str` 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. |
| `refined_search` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ConversationalSearchResponse.RefinedSearch]` 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. |
| `conversational_filtering_result` | `https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ConversationalSearchResponse.ConversationalFilteringResult` This field specifies all related information that is needed on client side for UI rendering of conversational filtering search. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2beta.types.ConversationalSearchResponse.State` Output only. The state of the response generation. |

## Classes

### ConversationalFilteringResult

    ConversationalFilteringResult(
        mapping=None, *, ignore_unknown_fields=False, **kwargs
    )

This field specifies all related information that is needed
on client side for UI rendering of conversational filtering
search.

### FollowupQuestion

    FollowupQuestion(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The conversational followup question generated for Intent
refinement.

### RefinedSearch

    RefinedSearch(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The proposed refined search for intent-refinement/bundled shopping
conversation. When using CONVERSATIONAL_FILTER_ONLY mode, the
refined_query from search response will be populated here.

### State

    State(value)

The state of the response generation.