diff --git a/dotnet/Directory.Packages.props b/dotnet/Directory.Packages.props index 87ba2e1f7a8d..73f889589f5c 100644 --- a/dotnet/Directory.Packages.props +++ b/dotnet/Directory.Packages.props @@ -5,7 +5,7 @@ true - + diff --git a/dotnet/src/Connectors/Connectors.AI.OpenAI/AzureSdk/ClientBase.cs b/dotnet/src/Connectors/Connectors.AI.OpenAI/AzureSdk/ClientBase.cs index 8e7bf450d1ed..b9545640210a 100644 --- a/dotnet/src/Connectors/Connectors.AI.OpenAI/AzureSdk/ClientBase.cs +++ b/dotnet/src/Connectors/Connectors.AI.OpenAI/AzureSdk/ClientBase.cs @@ -318,7 +318,7 @@ private static ChatCompletionsOptions CreateChatCompletionsOptions(ChatRequestSe NucleusSamplingFactor = (float?)requestSettings.TopP, FrequencyPenalty = (float?)requestSettings.FrequencyPenalty, PresencePenalty = (float?)requestSettings.PresencePenalty, - ChoicesPerPrompt = requestSettings.ResultsPerPrompt + ChoiceCount = requestSettings.ResultsPerPrompt }; foreach (var keyValue in requestSettings.TokenSelectionBiases) diff --git a/dotnet/src/SemanticKernel.Abstractions/AI/ChatCompletion/AuthorRole.cs b/dotnet/src/SemanticKernel.Abstractions/AI/ChatCompletion/AuthorRole.cs index 75e7a28cb1b3..af25d35fe857 100644 --- a/dotnet/src/SemanticKernel.Abstractions/AI/ChatCompletion/AuthorRole.cs +++ b/dotnet/src/SemanticKernel.Abstractions/AI/ChatCompletion/AuthorRole.cs @@ -14,15 +14,15 @@ namespace Microsoft.SemanticKernel.AI.ChatCompletion; /// /// The role that instructs or sets the behavior of the assistant. /// - public static readonly AuthorRole System = new("System"); + public static readonly AuthorRole System = new("system"); /// /// The role that provides responses to system-instructed, user-prompted input. /// - public static readonly AuthorRole Assistant = new("Assistant"); + public static readonly AuthorRole Assistant = new("assistant"); /// /// The role that provides input for chat completions. /// - public static readonly AuthorRole User = new("User"); + public static readonly AuthorRole User = new("user"); /// /// Gets the label associated with this AuthorRole.