Package: @effect/ai-anthropic
Module: AnthropicTelemetry
Telemetry attributes which are part of the GenAI specification and are
namespaced by gen_ai.anthropic.response.
Signature
export interface ResponseAttributes {
/**
* The stop reason from the response.
*/
readonly stopReason?: string | null | undefined
/**
* Number of cache creation input tokens.
*/
readonly cacheCreationInputTokens?: number | null | undefined
/**
* Number of cache read input tokens.
*/
readonly cacheReadInputTokens?: number | null | undefined
}
Since v4.0.0