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

Make a number of improvements to the OpenAI serialization helpers. #5799

Merged

Conversation

eiriktsarpalis
Copy link
Member

@eiriktsarpalis eiriktsarpalis commented Jan 16, 2025

  1. Makes a number of fixes in the OpenAI mapping logic.
  2. Adds a custom converter for the OpenAIChatCompletionRequest envelope type that uses OpenAI wire format. This should make it possible to bind to that type directly in the context of MVC apps.
Microsoft Reviewers: Open in CodeFlow

@eiriktsarpalis eiriktsarpalis enabled auto-merge (squash) January 16, 2025 20:09
@dotnet-comment-bot
Copy link
Collaborator

🎉 Good job! The coverage increased 🎉
Update MinCodeCoverage in the project files.

Project Expected Actual
Microsoft.Extensions.AI 88 89
Microsoft.Extensions.AI.OpenAI 77 78

Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=920173&view=codecoverage-tab

@dotnet-comment-bot
Copy link
Collaborator

🎉 Good job! The coverage increased 🎉
Update MinCodeCoverage in the project files.

Project Expected Actual
Microsoft.Extensions.AI 88 89
Microsoft.Extensions.AI.OpenAI 77 78

Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=921110&view=codecoverage-tab

@eiriktsarpalis eiriktsarpalis merged commit c63bc2c into dotnet:main Jan 17, 2025
6 checks passed
@eiriktsarpalis eiriktsarpalis deleted the improve-openai-serialization branch January 17, 2025 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants