1 write to _system
Microsoft.Extensions.AI (1)
ChatCompletion\OpenTelemetryChatClient.cs (1)
60
_system
= metadata.ProviderName;
9 references to _system
Microsoft.Extensions.AI (9)
ChatCompletion\OpenTelemetryChatClient.cs (9)
228
.AddTag(OpenTelemetryConsts.GenAI.SystemName,
_system
);
274
if (
_system
is not null)
285
_ = activity.AddTag(OpenTelemetryConsts.GenAI.Request.PerProvider(
_system
, "response_format"), responseFormat);
290
_ = activity.AddTag(OpenTelemetryConsts.GenAI.Request.PerProvider(
_system
, "seed"), seed);
301
OpenTelemetryConsts.GenAI.Request.PerProvider(
_system
, JsonNamingPolicy.SnakeCaseLower.ConvertName(prop.Key)),
393
if (
_system
is not null)
403
OpenTelemetryConsts.GenAI.Response.PerProvider(
_system
, JsonNamingPolicy.SnakeCaseLower.ConvertName(prop.Key)),
420
tags.Add(OpenTelemetryConsts.GenAI.SystemName,
_system
);
504
new(OpenTelemetryConsts.GenAI.SystemName,
_system
),