opentelemetry_semantic_conventions::attribute

Constant GEN_AI_USAGE_INPUT_TOKENS

Source
pub const GEN_AI_USAGE_INPUT_TOKENS: &str = "gen_ai.usage.input_tokens";
Expand description

The number of tokens used in the GenAI input (prompt).

ยงExamples

  • 100