Skip to content

Commit fbbb5c4

Browse files
Make OpenAI span data OTel compatible (#4613)
Make sure all OpenTelemetry semantic conventions for AI clients and also the Sentry Conventions are adhered to. Also cleans up the code a bit for better readability/maintenance. --------- Co-authored-by: Ivana Kellyer <[email protected]>
1 parent 5cc512f commit fbbb5c4

File tree

5 files changed

+521
-213
lines changed

5 files changed

+521
-213
lines changed

sentry_sdk/consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ class SPANDATA:
417417
GEN_AI_REQUEST_MODEL = "gen_ai.request.model"
418418
"""
419419
The model identifier being used for the request.
420-
Example: "gpt-4-turbo-preview"
420+
Example: "gpt-4-turbo"
421421
"""
422422

423423
GEN_AI_REQUEST_PRESENCE_PENALTY = "gen_ai.request.presence_penalty"

0 commit comments

Comments
 (0)