Skip to content

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

@evgenyfedorov2 evgenyfedorov2 added the area-ai Microsoft.Extensions.AI libraries label Jan 17, 2025
@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
@github-actions github-actions bot locked and limited conversation to collaborators Feb 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-ai Microsoft.Extensions.AI libraries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants