Home > @google/generative-ai > FinishReason
Reason that a candidate finished.
Signature:
export declare enum FinishReason
Member | Value | Description |
---|---|---|
FINISH_REASON_UNSPECIFIED | "FINISH_REASON_UNSPECIFIED" |
|
MAX_TOKENS | "MAX_TOKENS" |
|
OTHER | "OTHER" |
|
RECITATION | "RECITATION" |
|
SAFETY | "SAFETY" |
|
STOP | "STOP" |