Skip to main content

AI__PROMPT_TOKENS__USED

Constant AI__PROMPT_TOKENS__USED 

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

Use GEN_AI__USAGE__INPUT_TOKENS (gen_ai.usage.input_tokens) instead.

Expand description

The number of tokens used to process just the prompt.

  • PII: Maybe
  • Rewriting behavior: Backfill

ยงAliases