opentelemetry_semantic_conventions::attribute

Constant GEN_AI_REQUEST_MAX_TOKENS

Source
pub const GEN_AI_REQUEST_MAX_TOKENS: &str = "gen_ai.request.max_tokens";
Expand description

The maximum number of tokens the model generates for a request.

ยงExamples

  • 100