Token generation stopped because the content contains forbidden terms.
MalformedFunctionCall
The function call generated by the model is invalid.
MaxTokens
Token generation reached the configured maximum output tokens.
ModelArmor
The model response was blocked by Model Armor.
Other
All other reasons that stopped the token generation.
ProhibitedContent
Token generation stopped for potentially containing prohibited content.
Recitation
Token generation stopped because the content potentially contains
copyright violations.
Safety
Token generation stopped because the content potentially contains safety
violations. NOTE: When streaming,
[content][google.cloud.aiplatform.v1beta1.Candidate.content] is empty if
content filters blocks the output.
Spii
Token generation stopped because the content potentially contains
Sensitive Personally Identifiable Information (SPII).
Stop
Token generation reached a natural stopping point or a configured 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-08-14 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eCandidate.Types.FinishReason\u003c/code\u003e enum in the Vertex AI v1beta1 API, specifically for the .NET library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCandidate.Types.FinishReason\u003c/code\u003e enum details the different reasons why a model might stop generating tokens.\u003c/p\u003e\n"],["\u003cp\u003eThe enum includes fields such as \u003ccode\u003eBlocklist\u003c/code\u003e, \u003ccode\u003eMaxTokens\u003c/code\u003e, \u003ccode\u003eSafety\u003c/code\u003e, \u003ccode\u003eStop\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e, among others, each with a specific description of the stop reason.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSafety\u003c/code\u003e field indicates that streamed content may be empty if content filters block the output.\u003c/p\u003e\n"],["\u003cp\u003eThe documented enum is located within the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace and is found in the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1.dll\u003c/code\u003e assembly, with the latest version being 1.0.0-beta21.\u003c/p\u003e\n"]]],[],null,[]]