Package: @effect/ai-anthropic
Module: AnthropicTelemetry
Applies the specified Anthropic GenAI telemetry attributes to the provided
Span.
When to use
Use to annotate an Anthropic model span with standard GenAI telemetry attributes and Anthropic-specific request or response metadata.
Gotchas
This method mutates the Span in place.
Signature
declare const addGenAIAnnotations: { (options: AnthropicTelemetryAttributeOptions): (span: Span) => void; (span: Span, options: AnthropicTelemetryAttributeOptions): void; }
Since v4.0.0