Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::Feedback.
Information about the user feedback. This information will be used for logging and metrics purpose.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#comment
def comment() -> ::String
Returns
- (::String) — Optional. The additional user comment of the feedback if user gives a thumb down.
#comment=
def comment=(value) -> ::String
Parameter
- value (::String) — Optional. The additional user comment of the feedback if user gives a thumb down.
Returns
- (::String) — Optional. The additional user comment of the feedback if user gives a thumb down.
#component_version
def component_version() -> ::String
Returns
- (::String) — Optional. The version of the component that this report is being sent from.
#component_version=
def component_version=(value) -> ::String
Parameter
- value (::String) — Optional. The version of the component that this report is being sent from.
Returns
- (::String) — Optional. The version of the component that this report is being sent from.
#conversation_info
def conversation_info() -> ::Google::Cloud::DiscoveryEngine::V1beta::Feedback::ConversationInfo
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::Feedback::ConversationInfo) — The related conversation information when user gives feedback.
#conversation_info=
def conversation_info=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::Feedback::ConversationInfo
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1beta::Feedback::ConversationInfo) — The related conversation information when user gives feedback.
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::Feedback::ConversationInfo) — The related conversation information when user gives feedback.
#data_terms_accepted
def data_terms_accepted() -> ::Boolean
Returns
- (::Boolean) — Optional. Whether the customer accepted data use terms.
#data_terms_accepted=
def data_terms_accepted=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Whether the customer accepted data use terms.
Returns
- (::Boolean) — Optional. Whether the customer accepted data use terms.
#feedback_source
def feedback_source() -> ::Google::Cloud::DiscoveryEngine::V1beta::Feedback::FeedbackSource
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::Feedback::FeedbackSource) — Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP.
#feedback_source=
def feedback_source=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::Feedback::FeedbackSource
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1beta::Feedback::FeedbackSource) — Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP.
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::Feedback::FeedbackSource) — Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP.
#feedback_type
def feedback_type() -> ::Google::Cloud::DiscoveryEngine::V1beta::Feedback::FeedbackType
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::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.
#feedback_type=
def feedback_type=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::Feedback::FeedbackType
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1beta::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.
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::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.
#llm_model_version
def llm_model_version() -> ::String
Returns
- (::String) — The version of the LLM model that was used to generate the response.
#llm_model_version=
def llm_model_version=(value) -> ::String
Parameter
- value (::String) — The version of the LLM model that was used to generate the response.
Returns
- (::String) — The version of the LLM model that was used to generate the response.
#reasons
def reasons() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::Feedback::Reason>
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1beta::Feedback::Reason>) — Optional. The reason if user gives a thumb down.
#reasons=
def reasons=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::Feedback::Reason>
Parameter
- value (::Array<::Google::Cloud::DiscoveryEngine::V1beta::Feedback::Reason>) — Optional. The reason if user gives a thumb down.
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1beta::Feedback::Reason>) — Optional. The reason if user gives a thumb down.