Package: @effect/ai-openai-compat
Module: OpenAiTelemetry
The attributes used to describe telemetry in the context of Generative Artificial Intelligence (GenAI) Models requests and responses.
Details
These attributes follow the OpenTelemetry generative AI semantic conventions: https://opentelemetry.io/docs/specs/semconv/attributes-registry/gen-ai/
Signature
type OpenAiTelemetryAttributes = Simplify<
& Telemetry.GenAITelemetryAttributes
& Telemetry.AttributesWithPrefix<RequestAttributes, "gen_ai.openai.request">
& Telemetry.AttributesWithPrefix<ResponseAttributes, "gen_ai.openai.request">
>
Since v4.0.0