TraceAttributes::GEN_AI_SYSTEM
The Generative AI product as identified by the client or server instrumentation.
The `gen_ai.system` describes a family of GenAI models with specific model identified by `gen_ai.request.model` and `gen_ai.response.model` attributes.The actual GenAI product may differ from the one identified by the client. For example, when using OpenAI client libraries to communicate with Mistral, the `gen_ai.system` is set to `openai` based on the instrumentation's best knowledge.For custom model, a custom friendly name SHOULD be used. If none of these options apply, the `gen_ai.system` SHOULD be set to `_OTHER`.
@example openai
File
-
vendor/
open-telemetry/ sem-conv/ TraceAttributes.php, line 1780
Class
Namespace
OpenTelemetry\SemConvCode
public const GEN_AI_SYSTEM = 'gen_ai.system';