0.20.1 (latest) 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.12 0.12.3 0.11.14 0.10.0 0.9.1 0.8.1 0.7.0 0.6.0 0.5.0 0.4.1 0.3.1 0.2.1 0.1.1

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

Information about the user feedback. This information will be
used for logging and metrics purpose.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `feedback_type` | `https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1beta.types.Feedback.FeedbackType` Required. Indicate whether the user gives a positive or negative feedback. If the user gives a negative feedback, there might be more feedback details. |
| `reasons` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1beta.types.Feedback.Reason]` Optional. The reason if user gives a thumb down. |
| `comment` | `str` Optional. The additional user comment of the feedback if user gives a thumb down. |
| `conversation_info` | `https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1beta.types.Feedback.ConversationInfo` The related conversation information when user gives feedback. |
| `llm_model_version` | `str` The version of the LLM model that was used to generate the response. |
| `feedback_source` | `https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1beta.types.Feedback.FeedbackSource` Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP. |
| `component_version` | `str` Optional. The version of the component that this report is being sent from. |
| `data_terms_accepted` | `bool` Optional. Whether the customer accepted data use terms. |

## Classes

### ConversationInfo

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

The conversation information such as the question index and
session name.

### FeedbackSource

    FeedbackSource(value)

Source of the feedback as per integration.

### FeedbackType

    FeedbackType(value)

The type of the feedback user gives.

### Reason

    Reason(value)

The reason why user gives a negative feedback.