From c3ef6f0025d34aebcec41042784a263fc60b783f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Liberoff=20V=C3=A1zquez?= Date: Wed, 6 Mar 2024 18:09:21 +0100 Subject: [PATCH 1/2] In `AzureOpenAIOptions` the default value of `ServiceVersion` changes from `V2023_12_01_Preview` to `V2023_05_15` since the former is **deprecated**. - In interface type `IChatHistoryProvider` added new method `DeleteChatMessagesHistoryAsync` to delete a user's chat history messages. This method is implemented in `ChatHistoryProvider`. - Slight improvement in the `DeleteAsync` method in `CosmosRepository`. - Some boy scouting and typo fixes in comments. - Updated dependencies: - Updated `Bogus` from `35.4.0` to `35.4.1`. - Updated `Azure.Core` from `1.37.0` to `1.38.0`. - Updated `Azure.OpenAI` from `1.0.0-beta13` to `1.0.0-beta14`. - Updated `MailKit` from `4.3.0` to `4.4.0`. - Updated `MimeKit` from `4.3.0` to `4.4.0`. --- CHANGELOG.md | 13 ++++++++++++- Directory.Build.props | 2 +- .../AzureOpenAIOptions.cs | 2 +- .../Encamina.Enmarcha.AI.OpenAI.Azure.csproj | 2 +- .../IAsyncRepository.cs | 8 +++----- .../IAsyncWriteRepository.cs | 2 +- .../CosmosRepository{T}.cs | 2 +- .../Encamina.Enmarcha.Email.MailKit.csproj | 4 ++-- .../IChatHistoryProvider.cs | 8 ++++++++ .../ChatHistoryProvider.cs | 6 ++++++ .../Encamina.Enmarcha.Testing.Smtp.csproj | 4 ++-- .../Encamina.Enmarcha.Testing.csproj | 2 +- 12 files changed, 39 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e3a297..fc1161b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,11 +19,19 @@ Previous classification is not required if changes are simple or all belong to t ## [8.1.5] ### Breaking Changes -In the `QuestionAnsweringFromMemoryQuery` function of the `QuestionAnsweringPlugin`, null is no longer returned when there are no relevant memory results. Instead, the execution flow continues, prompting a message with an empty context information, ultimately resulting in a response such as "I don't know" or a similar message. + + - In `AzureOpenAIOptions` the default value of `ServiceVersion` changes from `V2023_12_01_Preview` to `V2023_05_15` since the former is **deprecated**. + - In the `QuestionAnsweringFromMemoryQuery` function of the `QuestionAnsweringPlugin`, a `null` value is no longer returned when there are no relevant memory results. Instead, the execution flow continues, prompting a message with an empty context information, ultimately resulting in a response such as "I don't know" or a similar message. ### Major Changes + +- In interface type `IChatHistoryProvider` added new method `DeleteChatMessagesHistoryAsync` to delete a user's chat history messages. This method is implemented in `ChatHistoryProvider`. - Updated dependencies: + - Updated `Bogus` from `35.4.0` to `35.4.1`. - Updated `Azure.Core` from `1.37.0` to `1.38.0`. + - Updated `Azure.OpenAI` from `1.0.0-beta13` to `1.0.0-beta14`. + - Updated `MailKit` from `4.3.0` to `4.4.0`. + - Updated `MimeKit` from `4.3.0` to `4.4.0`. - Updated `Microsoft.Bot.Builder.Azure` from `4.22.1` to `4.22.2`. - Updated `Microsoft.Bot.Builder.Azure.Blobs` from `4.22.1` to `4.22.2`. - Updated `Microsoft.Bot.Builder.Dialogs` from `4.22.1` to `4.22.2`. @@ -44,7 +52,10 @@ In the `QuestionAnsweringFromMemoryQuery` function of the `QuestionAnsweringPlug - Updated `xunit.runner.visualstudio` from `2.5.6` to `2.5.7`. ### Minor Changes + - Changes in the prompt of `QuestionAnsweringPlugin` to enhance language detection in the response. +- Slight improvement in the `DeleteAsync` method in `CosmosRepository`. +- Some boy scouting and typo fixes in comments. ## [8.1.4] diff --git a/Directory.Build.props b/Directory.Build.props index 0854fe0..c6dd72e 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -17,7 +17,7 @@ 8.1.5 - preview-02 + preview-03