Skip to content

.Net: Tidying up AzureOpenAIChatCompletionService - #7073

Merged
SergeyMenshykh merged 1 commit into
microsoft:feature-connectors-openaifrom
SergeyMenshykh:azure-chat-completion-cleanup-4
Jul 3, 2024
Merged

.Net: Tidying up AzureOpenAIChatCompletionService#7073
SergeyMenshykh merged 1 commit into
microsoft:feature-connectors-openaifrom
SergeyMenshykh:azure-chat-completion-cleanup-4

Conversation

@SergeyMenshykh

Copy link
Copy Markdown
Contributor

Motivation, Context and Description

This PR fixes a small issue that would occur if the LLM started calling tools that are not functions. Additionally, it renames the openAIClient parameter of the AzureOpenAIChatCompletionService class constructor to azureOpenAIClient to keep the name consistent with its type. It also renames the AzureOpenAIChatMessageContent.GetOpenAIFunctionToolCalls method to GetFunctionToolCalls because the old one is not relevant anymore. The last two changes are breaking changes and it will be decided in the scope of the #7053 issue whether to keep them or roll them back.

@SergeyMenshykh SergeyMenshykh self-assigned this Jul 3, 2024
@SergeyMenshykh
SergeyMenshykh requested a review from a team as a code owner July 3, 2024 09:26
@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 3, 2024
@SergeyMenshykh SergeyMenshykh changed the title .Net: .Net: Tidying up AzureOpenAIChatCompletionService Jul 3, 2024
@SergeyMenshykh
SergeyMenshykh merged commit edb7442 into microsoft:feature-connectors-openai Jul 3, 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.

4 participants