effect-io-ai

Package: @effect/ai
Module: Telemetry

Telemetry.UsageAttributes

Telemetry attributes which are part of the GenAI specification and are namespaced by gen_ai.usage.

Signature

export interface UsageAttributes {
  readonly inputTokens?: number | null | undefined
  readonly outputTokens?: number | null | undefined
}

Source

Since v1.0.0