Skip to content

.Net: Migrate AzureOpenAITextToImageService to Azure.AI.OpenAI v2 - #7093

Merged
SergeyMenshykh merged 3 commits into
microsoft:feature-connectors-openaifrom
SergeyMenshykh:migrate-text-to-image
Jul 4, 2024
Merged

.Net: Migrate AzureOpenAITextToImageService to Azure.AI.OpenAI v2#7093
SergeyMenshykh merged 3 commits into
microsoft:feature-connectors-openaifrom
SergeyMenshykh:migrate-text-to-image

Conversation

@SergeyMenshykh

Copy link
Copy Markdown
Contributor

Motivation, Context, and Description

This PR migrates AzureOpenAITextToImageService to Azure.AI.OpenAI v2:

  1. It updates the previously added AzureOpenAITextToImageService to use AzureOpenAIClient.
  2. It replaces all constructors in the AzureOpenAITextToImageService with the relevant ones from the original AzureOpenAITextToImageService.
  3. It adds the serviceVersion parameter to the ClientCore.GetAzureOpenAIClientOptions methods, allowing the specification of the service API version.
  4. It updates XML documentation comments in a few classes to indicate their relevance to Azure OpenAI services.
  5. It adds unit tests for the AzureOpenAITextToImageService class.

@SergeyMenshykh
SergeyMenshykh requested a review from a team as a code owner July 4, 2024 07:40
@markwallace-microsoft Mark Wallace (markwallace-microsoft) added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel labels Jul 4, 2024
@SergeyMenshykh SergeyMenshykh self-assigned this Jul 4, 2024
@SergeyMenshykh
SergeyMenshykh merged commit 48eb9c3 into microsoft:feature-connectors-openai Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kernel Issues or pull requests impacting the core kernel .NET Issue or Pull requests regarding .NET code

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants