Skip to content

Commit e365808

Browse files
author
Liudmila Molkova
committed
update other occurences
1 parent 7d97c73 commit e365808

File tree

7 files changed

+55
-36
lines changed

7 files changed

+55
-36
lines changed

.chloggen/gen-ai-system-naming.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ change_type: breaking
22
component: gen-ai
33
note: |
44
Follow system-specific naming policy in GenAI semantic conventions.
5-
- Rename `gen_ai.system` to `gen_ai_system.name`
5+
- Rename `gen_ai.system` to `gen_ai.provider.name`
66
- Remove `gen_ai` prefix from `gen_ai.openai.*` attributes.
7-
- Rename `az.ai.*` system names to `azure.ai.*`.
7+
- Rename `az.ai.*` attribute names to `azure.ai.*`.
88
99
issues: [ 2046 ]
1010
subtext:

docs/gen-ai/aws-bedrock.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ linkTitle: AWS Bedrock
99
The Semantic Conventions for [AWS Bedrock](https://aws.amazon.com/bedrock/) extend and override the semantic conventions
1010
for [Gen AI Spans](gen-ai-spans.md).
1111

12-
`gen_ai.system` MUST be set to `"aws.bedrock"`.
12+
`gen_ai.provider.name` MUST be set to `"aws.bedrock"`.
1313

1414
## AWS Bedrock Spans
1515

docs/gen-ai/azure-ai-inference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The Semantic Conventions for [Azure AI Inference](https://learn.microsoft.com/az
2525

2626
Semantic Conventions for [Azure AI Inference](https://learn.microsoft.com/azure/ai-studio/reference/reference-model-inference-api) client spans extend and override the semantic conventions for [Gen AI Spans](gen-ai-spans.md).
2727

28-
`gen_ai.system` MUST be set to `"az.ai.inference"` and SHOULD be provided **at span creation time**.
28+
`gen_ai.provide.name` MUST be set to `"azure.ai.inference"` and SHOULD be provided **at span creation time**.
2929

3030
**Span name** SHOULD be `{gen_ai.operation.name} {gen_ai.request.model}` when the
3131
model name is available and `{gen_ai.operation.name}` otherwise.

docs/gen-ai/gen-ai-agent-spans.md

Lines changed: 46 additions & 27 deletions
Large diffs are not rendered by default.

docs/gen-ai/gen-ai-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ Semantic conventions for individual systems MAY specify a different type for arg
466466
## Custom events
467467

468468
System-specific events that are not covered in this document SHOULD be documented in corresponding Semantic Conventions extensions and
469-
SHOULD follow `gen_ai.{gen_ai.system}.*` naming pattern for system-specific events.
469+
SHOULD follow `{gen_ai.provider.name}.*` naming pattern.
470470

471471
## Examples
472472

docs/gen-ai/openai.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The Semantic Conventions for [OpenAI](https://openai.com/) extend and override t
3636

3737
Semantic Conventions for [OpenAI](https://openai.com/) client spans extend and override the semantic conventions for [Gen AI Spans](gen-ai-spans.md).
3838

39-
`gen_ai.system` MUST be set to `"openai"` and SHOULD be provided **at span creation time**.
39+
`gen_ai.provider.name` MUST be set to `"openai"` and SHOULD be provided **at span creation time**.
4040

4141
**Span name** SHOULD be `{gen_ai.operation.name} {gen_ai.request.model}`.
4242

model/gen-ai/spans.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ groups:
144144
Semantic Conventions for [OpenAI](https://openai.com/) client spans extend
145145
and override the semantic conventions for [Gen AI Spans](gen-ai-spans.md).
146146
note: |
147-
`gen_ai.system` MUST be set to `"openai"` and SHOULD be provided **at span creation time**.
147+
`gen_ai.provider.name` MUST be set to `"openai"` and SHOULD be provided **at span creation time**.
148148
149149
**Span name** SHOULD be `{gen_ai.operation.name} {gen_ai.request.model}`.
150150
attributes:
@@ -172,7 +172,7 @@ groups:
172172
Semantic Conventions for [Azure AI Inference](https://learn.microsoft.com/azure/ai-studio/reference/reference-model-inference-api)
173173
client spans extend and override the semantic conventions for [Gen AI Spans](gen-ai-spans.md).
174174
note: |
175-
`gen_ai.system` MUST be set to `"az.ai.inference"` and SHOULD be provided **at span creation time**.
175+
`gen_ai.provide.name` MUST be set to `"azure.ai.inference"` and SHOULD be provided **at span creation time**.
176176
177177
**Span name** SHOULD be `{gen_ai.operation.name} {gen_ai.request.model}` when the
178178
model name is available and `{gen_ai.operation.name}` otherwise.
@@ -250,7 +250,7 @@ groups:
250250
Semantic conventions for individual GenAI systems and frameworks MAY specify different span name format.
251251
extends: attributes.gen_ai.inference.client
252252
attributes:
253-
- ref: gen_ai.system
253+
- ref: gen_ai.provider.name
254254
requirement_level: required
255255
- ref: gen_ai.agent.id
256256
requirement_level:

0 commit comments

Comments
 (0)