-
Notifications
You must be signed in to change notification settings - Fork 831
Update Azure Open AI package referenced by eval integration tests #6609
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
Update Azure Open AI package referenced by eval integration tests #6609
Conversation
This change is required to address the following error when running eval integration tests - looks like the version of OpenAI package referenced in the product code was incompatible with the preview version of Azure Open AI package referenced in the test code. ``` System.TypeLoadException HResult=0x80131522 Message=Could not load type 'OpenAI.RealtimeConversation.RealtimeConversationClient' from assembly 'OpenAI, Version=2.2.0.0, Culture=neutral, PublicKeyToken=b4187f3e65366280'. Source=Azure.AI.OpenAI StackTrace: at Azure.AI.OpenAI.AzureOpenAIClientOptions.GetRawServiceApiValueForClient(Object client) at Azure.AI.OpenAI.Chat.AzureChatClient..ctor(ClientPipeline pipeline, String deploymentName, Uri endpoint, AzureOpenAIClientOptions options) at Azure.AI.OpenAI.AzureOpenAIClient.GetChatClient(String deploymentName) at Microsoft.Extensions.AI.Evaluation.Integration.Tests.Setup.CreateChatConfiguration() in Q:\src\extensions\test\Libraries\Microsoft.Extensions.AI.Evaluation.Integration.Tests\Setup.cs:line 19 ```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the Azure.AI.OpenAI package version from 2.2.0-beta.4 to 2.2.0-beta.5 in the test-only package references to resolve a TypeLoadException that was preventing eval integration tests from running. The error was caused by an incompatibility between the OpenAI package version used in production code and the Azure OpenAI preview package version used in tests.
- Updates Azure.AI.OpenAI package version to resolve assembly loading conflicts
This change is required to address the following error when running eval integration tests - looks like the version of OpenAI package referenced in the product code was incompatible with the preview version of Azure Open AI package referenced in the test code.
Microsoft Reviewers: Open in CodeFlow