The maximum number of tokens as specified in the request was reached.
Other
All other reasons that stopped the token generation
Recitation
The token generation was stopped as the response was flagged for
unauthorized citations.
Safety
The token generation was stopped as the response was flagged for safety
reasons. NOTE: When streaming the Candidate.content will be empty if
content filters blocked the output.
Stop
Natural stop point of the model or provided stop sequence.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This document provides reference documentation for the `Candidate.Types.FinishReason` enum in the Google Cloud AI Platform v1 API."],["The `FinishReason` enum describes the reason why a model stopped generating tokens, including reasons like reaching the maximum number of tokens, safety flags, or natural stop points."],["The document includes a list of all available versions of the Google Cloud AIPlatform V1 library, ranging from version 3.22.0 (latest) down to 1.0.0, with links to the documentation for each specific version."],["The enum `Candidate.Types.FinishReason` contains six fields that are `MaxTokens`, `Other`, `Recitation`, `Safety`, `Stop`, and `Unspecified`, each with a description for what it represents."]]],[]]