rama::telemetry::opentelemetry::semantic_conventions::trace

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.

ยงExamples

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