-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔧 Update ERNIE-Bot.SDK and sample projects (#98)
- Update Microsoft.KernelMemory.Core to version 0.27.240205.2 - Update Microsoft.SemanticKernel.Abstractions and Microsoft.SemanticKernel.Core to version 1.3.0 - Update Microsoft.SemanticKernel.Plugins.Core and Microsoft.SemanticKernel.Plugins.Memory to version 1.3.0-alpha - Update Microsoft.NET.Test.Sdk to version 17.10.0-preview-24080-01 - Update System.Text.Json to version 8.0.1 - Update xunit to version 2.6.6 - Update xunit.runner.visualstudio to version 2.5.6 - Update ERNIE-Bot-Kernel-Memory.Sample and ERNIE-Bot.Sample projects - Add new endpoint for JSON format in ERNIE-Bot.Sample - Add new endpoint for getting usage in SK-ERNIE-Bot.Sample - Update Directory.Build.props with new version 0.14.0 - Update ModelEndpoints.cs with new version 1.3.0 🔧 Update ERNIE-Bot.SDK ModelEndpoints and ChatRequest - Update the ERNIE_Bot_8K model endpoint in the ModelEndpoints class to have a space between the model name and the port number. - Update the XuanYuan_70B_Chat_4bit model endpoint in the ModelEndpoints class to remove the space between the model name and the parentheses. - Add a new embedding model endpoint called Tao_8k with a token size of 8192. - Add a new property called ResponseFormat to the ChatRequest class to specify the format of the response content. - Add a new property called MaxTokens to the ChatRequest class to specify the maximum number of output tokens. Summary: - Updated model endpoints in the ERNIE-Bot.SDK ModelEndpoints class. - Added new properties to the ChatRequest class for specifying response format and maximum output tokens. 🔧 Fix system message handling - Fix handling of system messages in ERNIEBotChatCompletion.cs - Update logic to assign system message content to 'system' variable - Exclude system messages from the returned chat history 📝 Update ERNIEBotChatMessage constructors - Remove unused constructor in ERNIEBotChatMessage class - Update existing constructor to include metadata parameter 📝 Update ERNIEBotStreamingChatMessage constructors - Remove unused constructor in ERNIEBotStreamingChatMessage class - Update existing constructor to include metadata parameter
- Loading branch information
Showing
10 changed files
with
109 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters