Skip to content

Conversation

@xrmx
Copy link
Member

@xrmx xrmx commented Dec 6, 2024

What does this pull request do?

This adds support for tracing the following attributes:

  • GEN_AI_OPENAI_REQUEST_RESPONSE_FORMAT
  • GEN_AI_OPENAI_REQUEST_SEED
  • GEN_AI_OPENAI_REQUEST_SERVICE_TIER
  • GEN_AI_OPENAI_RESPONSE_SERVICE_TIER

service_tier parameter has been added in openai 1.35.0 so skipping on old versions and only reported in the response by openai anyway.

Related issues

…s traced upstream

This adds support for tracing the following attributes:
- GEN_AI_OPENAI_REQUEST_RESPONSE_FORMAT
- GEN_AI_OPENAI_REQUEST_SEED
- GEN_AI_OPENAI_REQUEST_SERVICE_TIER
- GEN_AI_OPENAI_RESPONSE_SERVICE_TIER

`service_tier` parameter has been added in openai 1.35.0 so skipping on
old versions and only reported in the response by openai anyway.
@xrmx xrmx requested a review from trentm December 6, 2024 09:47
@xrmx xrmx requested a review from estolfo December 9, 2024 08:53
@xrmx xrmx merged commit 5a4c151 into main Dec 9, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants