opentelemetry_semantic_conventions::attribute

Constant GEN_AI_RESPONSE_FINISH_REASONS

source
pub const GEN_AI_RESPONSE_FINISH_REASONS: &str = "gen_ai.response.finish_reasons";
Expand description

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

ยงExamples

  • "stop"