Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 780 Bytes

generative-ai.finishreason.md

File metadata and controls

25 lines (17 loc) · 780 Bytes

Home > @google/generative-ai > FinishReason

FinishReason enum

Reason that a candidate finished.

Signature:

export declare enum FinishReason 

Enumeration Members

Member Value Description
FINISH_REASON_UNSPECIFIED "FINISH_REASON_UNSPECIFIED"
MAX_TOKENS "MAX_TOKENS"
OTHER "OTHER"
RECITATION "RECITATION"
SAFETY "SAFETY"
STOP "STOP"