Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Adding intial support for openai instrumentation for chat creation #2402

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

AmanAgarwal041
Copy link

@AmanAgarwal041 AmanAgarwal041 commented Aug 23, 2024

Which problem is this PR solving?

This PR creates an initial instrumentation for openai chat creations. This PR for now supports the traces logging with streaming and non-streaming both.

Fixes #2378

Short description of the changes

Adds instrumentation support for openai in 3 areas

  • Chat creation
  • Traces
  • Both streaming and non-streaming

@AmanAgarwal041 AmanAgarwal041 requested a review from a team August 23, 2024 19:34
@AmanAgarwal041 AmanAgarwal041 marked this pull request as draft August 23, 2024 19:38
@AmanAgarwal041 AmanAgarwal041 marked this pull request as ready for review September 6, 2024 21:00
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.

[opentelemetry-instrumentation-openai] Add openai sdk
1 participant