Class GeminiPromptFeedback
- Namespace
- Uralstech.UGemini.Models.Generation.Candidate
A set of the feedback metadata for the prompt specified in a generation request.
public class GeminiPromptFeedback : IAppendableData<GeminiPromptFeedback>
- Inheritance
-
GeminiPromptFeedback
- Implements
- Extension Methods
Fields
BlockReason
If set, the prompt was blocked and no candidates are returned. Rephrase your prompt.
public GeminiBlockReason BlockReason
Field Value
SafetyRatings
Ratings for safety of the prompt. There is at most one rating per category.
public GeminiSafetyRating[] SafetyRatings
Field Value
Methods
Append(GeminiPromptFeedback)
Appends the data
to the current IAppendableData<T>.
public void Append(GeminiPromptFeedback data)
Parameters
data
GeminiPromptFeedbackThe data to append.