InputFeedback Class

Feedback related to the input data used to answer the question, as opposed to the model-generated response to the question.

Definition

Namespace: GenerativeAI.Types
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public class InputFeedback
Inheritance
Object    InputFeedback

Constructors

InputFeedbackInitializes a new instance of the InputFeedback class

Properties

BlockReason Optional. If set, the input was blocked and no candidates are returned. Rephrase the input.
SafetyRatings Ratings for safety of the input. There is at most one rating per category.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also