Summary:
This pull request includes several updates and enhancements to the project. The package versions in the Directory.Packages.props file have been updated, a new IntegrationTests project has been added, and the ERNIE-Bot.SDK has been improved with new features and improvements. The changes also involve the refactoring of the token store and the addition of new tests for chat completion and embedding functionality.
Changes:
Updated package versions in Directory.Packages.props:
Microsoft.Extensions.Configuration.UserSecrets: Version 6.0.1
Microsoft.Extensions.Http: Version 7.0.0
Microsoft.Extensions.Logging.Abstractions: Version 7.0.1
Microsoft.SemanticKernel.Abstractions: Version 0.21.230828.2-preview
Added IntegrationTests project to the solution
Updated version number in Directory.Build.props to 0.6.0-preview
Modified ERNIE-Bot.SDK:
Added new method for chat completion using a specific model endpoint
Removed obsolete methods for chat completion using specific model endpoints
Added new APIs for ChatStreamAsync and EmbeddingsAsync methods
Introduced new ModelEndpoint and ModelEndpoints classes
Updated ERNIEBotClient class:
Added new method for chat completion using a ModelEndpoint object
Removed obsolete method for chat completion using a specific model endpoint
Refactored token store to use ITokenStore interface
Added support for new chat models and embedding models
Added integration tests for chat completion and embedding functionality
Summary: This pull request includes several updates and enhancements to the project. The package versions in the Directory.Packages.props file have been updated, a new IntegrationTests project has been added, and the ERNIE-Bot.SDK has been improved with new features and improvements. The changes also involve the refactoring of the token store and the addition of new tests for chat completion and embedding functionality.
Changes: