CandidateFinishReason Property

Optional. Output only. The reason why the model stopped generating tokens. If empty, the model has not stopped generating tokens.

Definition

Namespace: GenerativeAI.Types
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public FinishReason? FinishReason { get; set; }

Property Value

NullableFinishReason

See Also