Mark Wallace

Results 167 comments of Mark Wallace

It's possible to create your own `OpenAIClient` and pass it in when creating the `IChatCompletionService`, see https://github.com/microsoft/semantic-kernel/blob/main/dotnet/src/Connectors/Connectors.OpenAI/OpenAIServiceCollectionExtensions.cs#L1036 Is this approach sufficient to meet your need?

@crickman as the UserAgent ask is only for Agents can we add a new method that allows the OpenAIClient to be injected into the Agent? This is the approach we...

Yes, if someone creates their own `OpenAIClient` then we lose the ability to set the Semantic-Kernel prefix and Semantic-Kernel-Version header. This is working as designed. We don't want to override...

@gaeaehrlich We don't have a viable way to support this in Semantic Kernel. Our approach to providing an SK user agent is not guaranteed to work as developers can create...

@dmytrostruk could you take a look at this issue to see can we support this use case.

One unrelated integration test failed ``` [xUnit.net 00:03:34.59] SemanticKernel.IntegrationTests.Connectors.OpenAI.OpenAIChatCompletionNonStreamingTests.ChatCompletionWithWebSearchAsync [FAIL] [xUnit.net 00:03:34.59] Assert.NotEmpty() Failure: Collection was empty [xUnit.net 00:03:34.59] Stack Trace: [xUnit.net 00:03:34.59] /home/runner/work/semantic-kernel/semantic-kernel/dotnet/src/IntegrationTests/Connectors/OpenAI/OpenAIChatCompletion_NonStreamingTests.cs(162,0): at SemanticKernel.IntegrationTests.Connectors.OpenAI.OpenAIChatCompletionNonStreamingTests.ChatCompletionWithWebSearchAsync() [xUnit.net 00:03:34.59] --- End...

More unrelated integration test failures ``` [xUnit.net 00:01:22.94] SemanticKernel.IntegrationTests.Connectors.OpenAI.OpenAIChatCompletionNonStreamingTests.ChatCompletionWithAudioInputAndOutputAsync [FAIL] [xUnit.net 00:01:22.95] Microsoft.SemanticKernel.HttpOperationException : Service request failed. [xUnit.net 00:01:22.95] Status: 503 (Service Unavailable) [xUnit.net 00:01:22.95] [xUnit.net 00:01:22.95] ---- System.ClientModel.ClientResultException :...

## Python Unit Test Overview | Tests | Skipped | Failures | Errors | Time | | ----- | ------- | -------- | -------- | ------------------ | | 2244 |...

@TaoChenOSU what are your thoughts on this enhancement request?

@Vake93 The following sample shows on approach you can use which uses semantic search to find the functions that best match the current user request: https://github.com/microsoft/semantic-kernel/blob/main/dotnet/samples/Concepts/Optimization/PluginSelectionWithFilters.cs Assigning to @SergeyMenshykh for...