enum Gemini::FinishReason
Overview
Defines the reason why the model stopped generating tokens.
Defined in:
gemini/types.crEnum Members
-
FinishReasonUnspecified =
0 -
Stop =
1 -
MaxTokens =
2 -
Safety =
3 -
Recitation =
4 -
Language =
5 -
Other =
6 -
Blocklist =
7 -
ProhibitedContent =
8 -
SPII =
9 -
MalformedFunctionCall =
10
Instance Method Summary
- #blocklist?
- #finish_reason_unspecified?
- #language?
- #malformed_function_call?
- #max_tokens?
- #other?
- #prohibited_content?
- #recitation?
- #safety?
- #spii?
- #stop?