Discovery Engine v1beta API - Class Feedback (1.0.0-beta24)

public sealed class Feedback : IMessage<Feedback>, IEquatable<Feedback>, IDeepCloneable<Feedback>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class Feedback.

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

Inheritance

object > Feedback

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

Feedback()

public Feedback()

Feedback(Feedback)

public Feedback(Feedback other)
Parameter
Name Description
other Feedback

Properties

Comment

public string Comment { get; set; }

Optional. The additional user comment of the feedback if user gives a thumb down.

Property Value
Type Description
string

ComponentVersion

public string ComponentVersion { get; set; }

Optional. The version of the component that this report is being sent from.

Property Value
Type Description
string

ConversationInfo

public Feedback.Types.ConversationInfo ConversationInfo { get; set; }

The related conversation information when user gives feedback.

Property Value
Type Description
FeedbackTypesConversationInfo

DataTermsAccepted

public bool DataTermsAccepted { get; set; }

Optional. Whether the customer accepted data use terms.

Property Value
Type Description
bool

FeedbackSource

public Feedback.Types.FeedbackSource FeedbackSource { get; set; }

Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP.

Property Value
Type Description
FeedbackTypesFeedbackSource

FeedbackType

public Feedback.Types.FeedbackType FeedbackType { get; set; }

Required. Indicate whether the user gives a positive or negative feedback. If the user gives a negative feedback, there might be more feedback details.

Property Value
Type Description
FeedbackTypesFeedbackType

LlmModelVersion

public string LlmModelVersion { get; set; }

The version of the LLM model that was used to generate the response.

Property Value
Type Description
string

Reasons

public RepeatedField<Feedback.Types.Reason> Reasons { get; }

Optional. The reason if user gives a thumb down.

Property Value
Type Description
RepeatedFieldFeedbackTypesReason