opentelemetry_semantic_conventions::attribute

Constant GEN_AI_USAGE_COMPLETION_TOKENS

Source
pub const GEN_AI_USAGE_COMPLETION_TOKENS: &str = "gen_ai.usage.completion_tokens";
๐Ÿ‘ŽDeprecated: Replaced by gen_ai.usage.output_tokens attribute.
Expand description

Deprecated, use gen_ai.usage.output_tokens instead.

ยงExamples

  • 42