-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@rliberoff/update semantic kernel ~1.0.1~ 1.1.0 #43
Merged
Conversation
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
…ernel` version `1.0.1`: - Changed `IKernel` for `Kernel`. - Changed `ISKFunction` for `KernelFunction` or `KernelPlugin`. - Changed `SKFunction` for `KernelFunction`. - Changed `ContextVariables` for `KernelArguments`. - Changed `kernel.Functions.GetFunction(...)` for `kernel.Plugins[<name of plugin>][<name of function>]`. - Changed `OpenAIRequestSettings` for `OpenAIPromptExecutionSettings`. - Removed extension methods for `SKContext` because that class does not exists anymore in `Semantic Kernel`. - Renamed files `IKernelExtensions` to `KernelExtensions.cs`. - Due to the breaking nature of the new version of `Semantic Kernel`, the following extension methods are not available any more and have been replace by new methods, and it was not possible to marked it as `Obsolete`: - `GetSemanticFunctionPromptAsync` is replaced by `GetKernelFunctionPromptAsync`. - `GetSemanticFunctionUsedTokensAsync` is replaced by `GetKernelFunctionUsedTokensAsync`. - `ImportSemanticPluginsFromAssembly` is replaced by `ImportPromptFunctionsFromAssembly`. - Extension method `GetSemanticFunctionPromptAsync` is no longer available. It is replaced by `GetKernelFunctionPromptAsync`. - Updated `Semantic Kernel` from `1.0.0-beta8` to `1.0.1` (first final version of `Semantic Kernel`). - Updated `Azure.AI.OpenAI` from version `1.0.0-beta.6` to `1.0.0-beta.12`. - Updated `Bogus` from version `34.0.2` to `35.3.0`. - Updated `Microsoft.Azure.Cosmos` from version `3.37.0` to `3.37.1`. - Updated `SharpToken` from version `1.2.12` to `1.2.14`. - Updated `xunit` from version `2.6.2` to `2.6.5`. - Updated `xunit.analyzers` from version `1.6.0` to `1.9.0`. - Updated `xunit.extensibility.core` from version `2.6.2` to `2.6.5`. - Updated `xunit.runner.visualstudio` from version `2.5.4` to `2.5.6`. - Updated `StyleCop.Analyzers` from version `1.2.0-beta.507` to `1.2.0-beta.556`. - Updated version from `8.0.3` to `8.1.0` due to all the major and breaking changes. - Updated some `README.md` files changing `IKernel` for `Kernel`. - Updated `CHANGELOG.md`.
…rom an assembly when a plugin with the same name already exists. Tests added and improved.
…ctor method name in ChatWithHistoryPlugin.
This was
linked to
issues
Jan 17, 2024
…(version `5.1.0`) for `Asp.Versioning.Mvc.ApiExplorer` (version `8.0.0`) which is the new name and implementation of the ASP.NET versioning libraries.
This was
linked to
issues
Jan 17, 2024
rliberoff
changed the title
@rliberoff/update semantic kernel 1.0.1
@rliberoff/update semantic kernel ~1.0.1~ 1.1.0
Jan 17, 2024
Hiunkeru
previously approved these changes
Jan 17, 2024
MarioRamosEs
previously approved these changes
Jan 17, 2024
fjbelizon
approved these changes
Jan 17, 2024
MarioRamosEs
approved these changes
Jan 17, 2024
Hiunkeru
approved these changes
Jan 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[8.1.0]
Important
This version updates the
Semantic Kernel
library from version1.0.0-beta8
to1.1.0
, which introduces a lot of breaking changes in the code.Sadly, some features from
Semantic Kernel
that we might have been using, are marked as experimental and produce warnings that do not allow the compilation of the code. To use these features, these warnings must be ignored explicitly per project. The following is a list of these warnings and the affected projects:Encamina.Enmarcha.SemanticKernel
Encamina.Enmarcha.SemanticKernel
Encamina.Enmarcha.SemanticKernel.Abstractions
Encamina.Enmarcha.SemanticKernel.Connectors.Memory
Encamina.Enmarcha.SemanticKernel.Plugins.Memory
Encamina.Enmarcha.SemanticKernel.Plugins.QuestionAnswering
Encamina.Enmarcha.SemanticKernel.Connectors.Memory
Encamina.Enmarcha.SemanticKernel.Connectors.Memory
Encamina.Enmarcha.SemanticKernel.Connectors.Document
More information about these warnings is available here: https://github.com/microsoft/semantic-kernel/blob/main/dotnet/docs/EXPERIMENTS.md
Braking Changes
Completition
forCompletion
inEncamina.Enmarcha.AI.OpenAI.Abstractions
. It was misspelled.SemanticKernelOptions
does not exists anymore. It has been replaced byAzureOpenAIOptions
fromEncamina.Enmarcha.AI.OpenAI.Abstractions
.Semantic Kernel
version1.0.1
:IKernel
forKernel
.ISKFunction
forKernelFunction
orKernelPlugin
.SKFunction
forKernelFunction
.ContextVariables
forKernelArguments
.kernel.Functions.GetFunction(...)
forkernel.Plugins[<name of plugin>][<name of function>]
.OpenAIRequestSettings
forOpenAIPromptExecutionSettings
.SKContext
because that class does not exists anymore inSemantic Kernel
.Semantic Kernel
, the following extension methods are not available any more and have been replace by new methods, and it was not possible to marked it asObsolete
:GetSemanticFunctionPromptAsync
is replaced byGetKernelFunctionPromptAsync
.GetSemanticFunctionUsedTokensAsync
is replaced byGetKernelFunctionUsedTokensAsync
.ImportSemanticPluginsFromAssembly
is replaced byImportPromptFunctionsFromAssembly
.GetSemanticFunctionPromptAsync
is no longer available. It is replaced byGetKernelFunctionPromptAsync
.ImportQuestionAnsweringPlugin
has different signature.ImportQuestionAnsweringPluginWithMemory
has different signature.ImportChatWithHistoryPluginUsingCosmosDb
has different signature.config.json
has been modified.Major Changes
Semantic Kernel
from1.0.0-beta8
to1.0.1
(first final version ofSemantic Kernel
).Azure.Core
from version1.36.0
to1.37.0
.Azure.AI.OpenAI
from version1.0.0-beta.6
to1.0.0-beta.12
.Bogus
from version34.0.2
to35.4.0
.Microsoft.AspNetCore.Authentication.JwtBearer
from version8.0.0
to8.0.1
.Microsoft.AspNetCore.Authentication.OpenIdConnect
from version8.0.0
to8.0.1
.Microsoft.Azure.Cosmos
from version3.37.0
to3.37.1
.Microsoft.EntityFrameworkCore
from version8.0.0
to8.0.1
.Microsoft.Extensions.Options
from version8.0.0
to8.0.1
.SharpToken
from version1.2.12
to1.2.14
.xunit
from version2.6.2
to2.6.6
.xunit.analyzers
from version1.6.0
to1.10.0
.xunit.extensibility.core
from version2.6.2
to2.6.6
.xunit.runner.visualstudio
from version2.5.4
to2.5.6
.StyleCop.Analyzers
from version1.2.0-beta.507
to1.2.0-beta.556
.System.Text.Json
from version8.0.0
to8.0.1
.8.0.3
to8.1.0
due to all the major and breaking changes.README.md
files changingIKernel
forKernel
.Semnantic Kernel
.Minor Changes
config.json
) to new format.IKernelExtensions
toKernelExtensions.cs
.ChatWithHistoryPlugin.cs
.