effect-io-ai

Package: @effect/ai-openai-compat
Module: OpenAiTelemetry

OpenAiTelemetry.OpenAiTelemetryAttributeOptions

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

Signature

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

Source

Since v4.0.0