Skip to main content

GEN_AI_USAGE_CACHE_CREATION_INPUT_TOKENS

Constant GEN_AI_USAGE_CACHE_CREATION_INPUT_TOKENS 

pub const GEN_AI_USAGE_CACHE_CREATION_INPUT_TOKENS: &'static str;
👎Deprecated:

{note: Moved to the OpenTelemetry GenAI semantic conventions repository. , reason: uncategorized}

Available on crate features opentelemetry and semconv_experimental only.
Expand description

The number of input tokens written to a provider-managed cache.

§Notes

The value SHOULD be included in gen_ai.usage.input_tokens.

§Examples

  • 25