Class InputFeedback
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Feedback related to the input data used to answer the question, as opposed to the model-generated response to the question.
public class InputFeedback
- Inheritance
-
InputFeedback
- Inherited Members
- Extension Methods
Properties
BlockReason
Optional. If set, the input was blocked and no candidates are returned. Rephrase the input.
[JsonPropertyName("blockReason")]
public BlockReason? BlockReason { get; set; }
Property Value
SafetyRatings
Ratings for safety of the input. There is at most one rating per category.
[JsonPropertyName("safetyRatings")]
public List<SafetyRating>? SafetyRatings { get; set; }