Skip to main content

AI__TOTAL_TOKENS__USED

Constant AI__TOTAL_TOKENS__USED 

Source
pub const AI__TOTAL_TOKENS__USED: &str = "ai.total_tokens.used";
๐Ÿ‘ŽDeprecated:

Use GEN_AI__USAGE__TOTAL_TOKENS (gen_ai.usage.total_tokens) instead.

Expand description

The total number of tokens used to process the prompt.

  • PII: Maybe
  • Rewriting behavior: Backfill

ยงAliases