semantic-kernel icon indicating copy to clipboard operation
semantic-kernel copied to clipboard

.Net: Feature OpenAI Response Agent

Open markwallace-microsoft opened this issue 8 months ago • 3 comments

Motivation and Context

Semantic Kernel Agent implementation backed by the Open AI Response API.

Description

Add agent, samples, and tests for OpenAIResponseAgent

Contribution Checklist

markwallace-microsoft avatar Apr 10 '25 17:04 markwallace-microsoft

Any luck this will make its way into production this week?

Mano1192 avatar May 05 '25 17:05 Mano1192

Hope to see this integrated this sprint! Pretty big feature for us.

Mano1192 avatar May 16 '25 21:05 Mano1192

Hope to see this integrated this sprint! Pretty big feature for us.

@Mano1192 We've all be crazy busy on "Build" priorities. Will see if we can move forward with this now.

crickman avatar May 20 '25 23:05 crickman

One failing unrelated integration test

[xUnit.net 00:01:19.38]     SemanticKernel.IntegrationTests.Connectors.OpenAI.OpenAIChatCompletionNonStreamingTests.ChatCompletionWithAudioInputAndOutputAsync [FAIL]
[xUnit.net 00:01:19.38]       Microsoft.SemanticKernel.HttpOperationException : Service request failed.
[xUnit.net 00:01:19.38]       Status: 503 (Service Unavailable)
[xUnit.net 00:01:19.38]       
[xUnit.net 00:01:19.38]       ---- System.ClientModel.ClientResultException : Service request failed.
[xUnit.net 00:01:19.38]       Status: 503 (Service Unavailable)
[xUnit.net 00:01:19.38]       
[xUnit.net 00:01:19.38]       Stack Trace:
[xUnit.net 00:01:19.38]         /home/runner/work/semantic-kernel/semantic-kernel/dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.cs(244,0): at Microsoft.SemanticKernel.Connectors.OpenAI.ClientCore.RunRequestAsync[T](Func`1 request)
[xUnit.net 00:01:19.38]         /home/runner/work/semantic-kernel/semantic-kernel/dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs(171,0): at Microsoft.SemanticKernel.Connectors.OpenAI.ClientCore.GetChatMessageContentsAsync(String targetModel, ChatHistory chatHistory, PromptExecutionSettings executionSettings, Kernel kernel, CancellationToken cancellationToken)
[xUnit.net 00:01:19.38]         /home/runner/work/semantic-kernel/semantic-kernel/dotnet/src/SemanticKernel.Abstractions/AI/ChatCompletion/ChatCompletionServiceExtensions.cs(83,0): at Microsoft.SemanticKernel.ChatCompletion.ChatCompletionServiceExtensions.GetChatMessageContentAsync(IChatCompletionService chatCompletionService, ChatHistory chatHistory, PromptExecutionSettings executionSettings, Kernel kernel, CancellationToken cancellationToken)

markwallace-microsoft avatar Jun 10 '25 14:06 markwallace-microsoft

Merging directly due to integration test instability

markwallace-microsoft avatar Jun 10 '25 14:06 markwallace-microsoft