GEN_AI_RESPONSE_FINISH_REASONS

Constant GEN_AI_RESPONSE_FINISH_REASONS 

pub const GEN_AI_RESPONSE_FINISH_REASONS: &'static str;
Expand description

Array of reasons the model stopped generating tokens, corresponding to each generation received.

§Notes

§Examples

  • [ "stop", ]
  • [ "stop", "length", ]