From 3e796ec43024f85f340b90d08c79dd85f7c5f196 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Sun, 6 Jul 2025 15:50:52 -0700 Subject: [PATCH 1/3] Fix value of deprecated 'az.ai.openai' enum back to 'az.ai.openai' I believe there was a small error in #1698. When 'az.ai.openai' was deprecated, its 'value' should not have changed: https://github.com/open-telemetry/semantic-conventions/pull/1698/files#diff-0936f2641601c5b370b10dfb33c8f82d6d731a2663cf042eef2aa5114c720902R71 --- model/gen-ai/registry.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/gen-ai/registry.yaml b/model/gen-ai/registry.yaml index d8ac5f414e..d2bcdfd104 100644 --- a/model/gen-ai/registry.yaml +++ b/model/gen-ai/registry.yaml @@ -68,7 +68,7 @@ groups: brief: 'Azure AI Inference' - id: az.ai.openai stability: development - value: "azure.ai.openai" + value: "az.ai.openai" brief: 'Azure OpenAI' deprecated: "Replaced by azure.ai.openai" - id: ibm.watsonx.ai From 73270a2d27cb12896074bc5a933b61d481747c2a Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Sun, 6 Jul 2025 15:58:14 -0700 Subject: [PATCH 2/3] add changelog entry --- .chloggen/trentm-az.ai.openai-value-fix.yaml | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .chloggen/trentm-az.ai.openai-value-fix.yaml diff --git a/.chloggen/trentm-az.ai.openai-value-fix.yaml b/.chloggen/trentm-az.ai.openai-value-fix.yaml new file mode 100644 index 0000000000..18735d2b92 --- /dev/null +++ b/.chloggen/trentm-az.ai.openai-value-fix.yaml @@ -0,0 +1,22 @@ +# Use this changelog template to create an entry for release notes. +# +# If your change doesn't affect end users you should instead start +# your pull request title with [chore] or use the "Skip Changelog" label. + +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: bug_fix + +# The name of the area of concern in the attributes-registry, (e.g. http, cloud, db) +component: gen_ai + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Restore the deprecated `az.ai.openai` enum value of `gen_ai.system`. It was deprecated in v1.36.0, but its value was accidentally changed, which could have removed it from semantic-conventions generated code. + +# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. +# The values here must be integers. +issues: [2486] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: From 5fc08e52a40de992871437a41ff953bf263146c3 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Sun, 6 Jul 2025 16:03:59 -0700 Subject: [PATCH 3/3] fix yamllint on changelog entry file --- .chloggen/trentm-az.ai.openai-value-fix.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.chloggen/trentm-az.ai.openai-value-fix.yaml b/.chloggen/trentm-az.ai.openai-value-fix.yaml index 18735d2b92..c3865577b5 100644 --- a/.chloggen/trentm-az.ai.openai-value-fix.yaml +++ b/.chloggen/trentm-az.ai.openai-value-fix.yaml @@ -10,7 +10,7 @@ change_type: bug_fix component: gen_ai # A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Restore the deprecated `az.ai.openai` enum value of `gen_ai.system`. It was deprecated in v1.36.0, but its value was accidentally changed, which could have removed it from semantic-conventions generated code. +note: Restore the deprecated `az.ai.openai` enum value of `gen_ai.system`. # Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. # The values here must be integers. @@ -19,4 +19,4 @@ issues: [2486] # (Optional) One or more lines of additional information to render under the primary note. # These lines will be padded with 2 spaces and then inserted directly into the document. # Use pipe (|) for multiline entries. -subtext: +subtext: It was deprecated in v1.36.0, but its value was accidentally changed, which could have removed it from semantic-conventions generated code.