opentelemetry_semantic_conventions::attribute

Constant GEN_AI_USAGE_PROMPT_TOKENS

source
pub const GEN_AI_USAGE_PROMPT_TOKENS: &str = "gen_ai.usage.prompt_tokens";
๐Ÿ‘ŽDeprecated: Replaced by gen_ai.usage.input_tokens attribute.
Expand description

Deprecated, use gen_ai.usage.input_tokens instead.

ยงExamples

  • 42