Class Feedback (0.20.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 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[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 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 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.