Firebase. AI. PromptFeedback
A metadata struct containing any feedback the model had on the prompt it was provided.
Summary
Properties |
|
---|---|
BlockReason
|
The reason a prompt was blocked, if it was blocked.
|
BlockReasonMessage
|
string
A human-readable description of the
BlockReason . |
SafetyRatings
|
IEnumerable< SafetyRating >
The safety ratings of the prompt.
|
Properties
BlockReason
BlockReason Firebase::AI::PromptFeedback::BlockReason
The reason a prompt was blocked, if it was blocked.
BlockReasonMessage
string Firebase::AI::PromptFeedback::BlockReasonMessage
A human-readable description of the BlockReason
.
SafetyRatings
IEnumerable< SafetyRating > Firebase::AI::PromptFeedback::SafetyRatings
The safety ratings of the prompt.