effect-io-ai

Package: @effect/ai-anthropic
Module: AnthropicTelemetry

AnthropicTelemetry.AnthropicTelemetryAttributeOptions

Options accepted by addGenAIAnnotations, combining standard GenAI telemetry attributes with optional Anthropic request and response attributes.

Signature

type AnthropicTelemetryAttributeOptions = Telemetry.GenAITelemetryAttributeOptions & {
  anthropic?: {
    request?: RequestAttributes | undefined
    response?: ResponseAttributes | undefined
  } | undefined
}

Source

Since v4.0.0