Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TraceAttributes.php

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

TraceAttributes

Namespace

OpenTelemetry\SemConv

Code

public const GEN_AI_SYSTEM = 'gen_ai.system';

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal