Skip to content

Releases: microsoft/semantic-kernel

dotnet-1.0.0-rc3

06 Dec 22:54
aa45ee6
Compare
Choose a tag to compare
dotnet-1.0.0-rc3 Pre-release
Pre-release

Changes:

  • aa45ee6 .Net: Address API review feedback about DI integration (#4023)
  • 7eaa708 .Net: Simplify and clarify multi stream chat completion example (#4019)
  • 17b1ab1 .Net: Nulls for function arguments (#4055)
  • 764e572 .Net Remove non-visible Kernel Syntax Samples (#4058)
  • 136e7c2 .Net BugFix - Using StandardizedPrompt With Kernel/Function InvokeAsync with ChatCompletions was not being parsed correctly. (#4025) [ #3960 ]
  • 5f047e5 .Net: Version 1.0.0-rc3 (#4057)
  • ce2dbfb .Net: Clarify some kernel semantic examples (#4018)
  • 0a7c616 .Net Rename Azure Cognitive to Azure AI Search (#4043) [ #3995 ]
  • 04105d4 .Net: Address API review feedback on Kernel.GetService (#4046)
  • 32dc00b .Net: Create prompt integration test (#4003)
See More
  • 33728ba .Net: Code duplication removed (#4030)
  • 4e0e40e .Net: Add missing limit argument in example 15 (#4028)
  • 87fa3bf .Net Adding Kernel + Function.InvokeAsync (#3974) [ #3863 ]
  • e947ad8 .Net With the new dedicated Rendering events rederedPrompt metadata is not necessary. (#4007) [ #4005 ]
  • 6ce0cfc .Net: Add comment to Example08_RetryHandler (#4010)
  • eb24c40 .Net: Support for primitives and complex types by Kernel prompt template (#4013)
  • 1a1c6fe .Net Preventing arguments collection (#4022)
  • e1229f5 .Net: fixed the AzureOpenAITextEmbeddingGeneration parameter order (#4012)
  • 8ba50eb .Net: Small fix in plan generation prompt of FunctionCallingStepwisePlanner (#4014)
  • 99d354f .Net: Add Handlebars planner unit tests (#3950)

This list of changes was auto generated.

python-0.4.1.dev

05 Dec 18:47
a204be8
Compare
Choose a tag to compare

Breaking Changes

Python Kernel Upgrade to Pydantic v2.5.2

We are happy to announce an upgrade to Pydantic v2.5.2 in our Python kernel. This update not only brings cutting-edge features and syntax enhancements from the Pydantic team but also aligns our platform with major packages like OpenAI and PromptFlow. Key improvements include:

  1. Streamlined Classes: The new version has simplified numerous classes, enhancing their readability and precision.
  2. Unified sk_pydantic Classes: Previously distinct classes, such as skbasemodel, skgeneric, and pydantic field, have been consolidated into skbasemodel. Please note that aliases from earlier versions will be deprecated in the future v1 release.
  3. Changes to Dict Functionality: The dict function in Pydantic has evolved. It is now represented as model_dump and model_dump_json, which may impact your development process.
  4. Alignment with Leading Technologies: The Pydantic upgrade brings SK in line with other significant technologies like OpenAI and PromptFlow, ensuring seamless integration and consistency across platforms.

For a detailed guide on migrating to Pydantic V2 and understanding these changes better, please visit Pydantic's Migration Guide.

What's Changed

  • Python: Bump pyarrow from 13.0.0 to 14.0.1 in /python by @dependabot in #3443
  • Python: Bump qdrant-client from 1.5.4 to 1.6.4 in /python by @dependabot in #3410
  • Python: Bump openapi-core from 0.18.1 to 0.18.2 in /python by @dependabot in #3409
  • Python: fix deployment name parameter when using base_url by @eavanvalkenburg in #3880
  • Python: readded user agent telemetry to openai classes by @eavanvalkenburg in #3881
  • Python: Bug fix in Python sample notebook 10 by @rom212 in #3595
  • Python: added grounding sample as code instead of notebook by @eavanvalkenburg in #3966
  • Python: Bump transformers from 4.34.0 to 4.35.2 in /python by @dependabot in #3936
  • Python: extra tests and a fix for the base_url by @eavanvalkenburg in #3967
  • Python: Bump black from 23.10.1 to 23.11.0 in /python by @dependabot in #3934
  • Python: allow default_headers configuration and users to pass in custom AzureOpenAI/OpenAI clients. by @moonbox3 in #3903
  • Python: Bump Python version to 0.4.1. Make TextMemorySkill attributes ClassVar. by @moonbox3 in #4001

Full Changelog: python-0.4.0.dev...python-0.4.1.dev

dotnet-1.0.0-rc2

05 Dec 21:30
45507bb
Compare
Choose a tag to compare
dotnet-1.0.0-rc2 Pre-release
Pre-release

Changes:

  • 45507bb .Net: Release 1.0.0-rc2 (#4004)
  • 3249099 .Net: Remove string? input overloads and add KernelArgument ctor (#3985)
  • ba6c869 .Net: default_value should just be default to match with prompt YAML schema (#3963) [ #3957 ]
  • 10e1998 .Net: Establish pattern to use LoggerMessage attribute in KernelFunction and Instrumented Planner (#3859)
  • 9ea33b5 .Net: remove serviceId requirement for examples 56 and 58 (#3954)
See More
  • e905aa9 .Net Add ModelId to Content Abstractions (#3930) [ #3928 ]
  • 737cf8e .Net: input_parameters should be input_variables to match prompt serialization (#3965) [ #3953, #3958 ]
  • b130b1c .Net Tests Update (#3935) [ #3653 ]
  • f1ede27 .Net: Fix up KernelFunction.InvokeStreamingAsync to be more similar to non-streaming (#3940)
  • 5871a36 .Net: Remove CreateFunctionFromPromptXXXResource methods (#3964) [ #3951 ]
  • faf3aab .Net: Change a few KernelExceptions to ArgumentExceptions (#3931)
  • c26493d .Net: Remove pluginName arguments from markdown/yaml function creation (#3959)
  • dece411 .Net: Add ChatHistory.RemoveRange (#3956)
  • 5e2f1b8 .Net: Skipping formatting of excluded projects (#3941)

This list of changes was auto generated.

dotnet-1.0.0-rc1

05 Dec 00:07
cb12931
Compare
Choose a tag to compare
dotnet-1.0.0-rc1 Pre-release
Pre-release

Changes:

  • cb12931 .Net: Function calling stepwise planner improvements (#3857)
  • 512b20c .Net Removing remaining public facing records (#3938) [ #3697 ]
  • 497d82a .Net: Bump version to 1.0.0-rc1 (#3943)
  • b25c8b9 .Net: Rename ITextCompletion to ITextGenerationService (#3924)
  • 1844d4f .Net: Assistant Experimental Feature Update (#3929)
  • 858821b .Net: Rename ImageGeneration to TextToImage (#3926)
  • 8627272 .Net: IChatCompletion interface and all its implementations are renamed (#3927)
  • 96ce7d8 .Net Equality proposal implementation APIs (Content + Completion Interfaces) (#3910)
  • 51958fb .Net: [Fix] Issuing multiple function callings will cause OpenAI to return 500 Internal Server Error (#3858) [ #3515 ]
  • 50ff6c0 .Net: Preparation for non-string arguments support (#3911)
See More
  • c68ddf6 .Net: Avoid using exceptions for control flow in AggregatorPromptTemplateFactory (#3917)
  • 416cdd5 .Net: Removing request settings leftovers (#3923)
  • b2fa594 .Net: Update comments / clarity on assistants demo (#3899)
  • b91f7d1 .Net: Remove some overheads from KernelPromptTemplate (#3916)
  • e8797dc .Net: Remove deleted files from .sln (#3921)
  • 7342ee7 .Net: Remove a few unnecessary await Task.FromResults (#3920)
  • 8f7b710 .Net: Rename OpenAPI in namespaces to OpenApi (#3913)
  • 417539b .Net: Delete public and unused HandlebarsPlanner.Stopwatch (#3922)
  • 0f87104 .Net: Change internal ExecutionSettings to be a List rather than IEnumerable (#3914)
  • 1015b4c .Net: Seal AggregatorPromptTemplateFactory (#3915)
  • 9cd5a7d .Net: Fix InvokeHandlebarsPromptAsync to take KernelArguments (#3918)
  • 0f23dc9 .Net: AIServices must be configured with a model id (#3905) [ #3756 ]
  • da68d00 .Net: Get rid of .Functions subnamespace (#3907)
  • e924d84 .Net: Change how event handlers cancel, and clean up FunctionResult (#3909)
  • bf73f1a .Net: Move some Kernel extensions down to Kernel (#3908)
  • 0e24fc2 .Net: Tweak callbacks on KernelBuilder (#3902)
  • 3a0b795 .Net: Remove .Extensions and .Functions subnamespaces (#3898)
  • 1815d7e .Net: Clean up KernelEventArgs and friends (#3904)
  • 479e164 .Net: Update Example 22 to demonstrate usage of OpenAI authentication config (#3423) [ #3304 ]
  • ffd37b8 .Net: Remove the function author role from the public API (#3896) [ #3866 ]
  • 322d5e6 .Net: Fix Assistant managment of Kernel completion service. (#3852)
  • e3bce02 .Net: Make ChatHistory an IList rather than List (#3889)
  • d2dddde .Net: Add experimental attributes to packages (#3709)
  • c245312 .Net: Remove implementation detail from public {Azure} OpenAI client surface area (#3778)
  • 4201da5 .Net: Add back Kernel.LoggerFactory shortcut (#3848)
  • cb150fb .Net: Disable IDE0130 (match namespace to folder structure) (#3851)
  • d2ab891 .Net: Move ModelResult from Microsoft.SemanticKernel.Orchestration to Microsoft.SemanticKernel.AI (#3850)
  • 6a9bd7d .Net: Remove skip and repeat (#3888) [ #3865, #3867, #3868 ]
  • 196359b .Net: Make KernelArguments wrap rather than be a Dictionary<> (#3876)
  • a511a9d .Net BugBash Bugfix Example 59 - FunctionCalling (Added default serialization to Method Function results) (#3854) [ #3829 ]
  • 1c6a187 .Net Standardized prompt input support for Chat Completion APIs (#3781) [ #3780 ]
  • 0b1e085 .Net: Fix test failure in main (#3878)
  • 1bcfaf3 .Net: Rename Handlebars package to MS.SK.PromptTemplate.Handlebars (#3853)
  • 03ca546 .Net: Clean up some extension method classes (#3766)
  • 68fcf4b .Net: Make PromptNode and XmlPromptParser internal (#3877)
  • 82cb133 .Net: Allow object IAIService attributes (#3856)
  • cc3d747 .Net TypeConverterFactory utility class (#3860)
  • 3e1dcc0 .Net: Net: Tiny fixes found during bug bash (#3849)
  • 9ef4cb9 .Net: Add streaming equivalent to InvokePromptAsync (#3791)
  • 83c35e0 .Net: Add tests for KernelBuilder (and tweak the DI workaround) (#3847)
  • 90906f2 .Net: Delete KernelNameAttribute (#3764)
  • 1d51d5d .Net Kernel RunStreaming to InvokeStreaming + Small other Run to Invoke changes (#3783) [ #3782 ]
  • d32802e .Net: Fix handling execution settings that are in string format (#3846)
  • e2ac85a .Net: Instrument the HandleBars planner (#3762)
  • 7f80c5e .Net: Pass Kernel to connectors and implement automatic OpenAI function calling (#3754)
  • 3bb2bef .Net: KernelArguments as a type for the 'arguments' parameter (#3776)
  • cc77c91 .Net: Make a few public types internal (#3730)
  • 72dee5d .Net: Make PlannerInstrumentation internal rather than public (#3763)
  • 38f3540 .Net Native Function -> Method Function Missing Renaming (#3775) [ #3774 ]
  • b49fa39 .Net: The FunctionResult class has been made immutable (#3770)
  • e866f8f .Net Semantic Function -> Prompt Function Missing Renaming (#3772) [ #3771 ]
  • ab2e723 .Net: Optional arguments parameter for template and code rendering API (#3773)
  • 0b64585 .Net The KernelFunctionArguments class is renamed to KernelArguments (#3769)
  • e8ed55b .Net ContextVariables is replaced by KernelFunctionArguments (#3752)
  • 9d2c8c8 .Net: Adding IChatCompletion Streaming ChatHistory as input (#3757) [ #3663 ]
  • bf947fe .Net: Copy PlannerInstrumentation.cs to InternalUtilities (#3755)
  • 5608f31 .Net: Rename AzureTextCompletion to AzureOpenAITextCompletion (#3738)
  • 8b7e7c0 .Net: Fix ordered service selector (#3753)
  • 40b0af6 .Net: Some fixes to clean up after previous PR's (#3745)
  • 0423483 .Net: Handlebars Planner - Passing kernel in method signatures instead of constructors (#3739)
  • 73afd47 .Net: Replace SK's IAIServiceProvider with IServiceProvider (#3714)
  • b7f9b1d .Net: Replace straggling Add usage with AddRange (#3729)
  • 7aaba14 .Net BugFix #3715 Exception Streaming OpenAI Chat WithData (Example 54) (#3727)
  • aa4f760 .Net: Fix OpenAI JSON manifest parsing (underscore cases) (#3716)
  • 6b78cd2 .Net: Remove IPromptTemplate.Parameters (#3721)
  • 94bfac7 .Net: Update Application Insights Example (#3599)
  • c1159f2 .Net: Refactor PromptTemplateConfig (#3707)
  • b3e05d5 ADR for JSON-serializable custom types (#3394)
  • f2dd381 .Net: Temporarily excluding planners and flow orchestrator (#3701)
  • e4b8cfa .Net: Convert KernelFunction.GetMetadata to be a property (#3702)
  • 003d011 .Net: KernelFunctionArguments class has been added (#3671)
  • b38e509 .Net: OpenAI Connector Internals Update Azure Beta 9 (#3674) [ #3432 ]
  • 48e3763 .Net: Rename AIRequestSettings to PromptExecutionSettings (#3681)
  • 12f368e .Net: Rename SK prefix to Kernel (#3680)
  • 26182cd .Net: Move Handlers planner unit tests to own project (#3679)
  • b771d9c .Net: Move Plan to the ms.sk.planners.core package (#3678)
  • 58f03c5 .Net: Remove dependency on planners.core (#3673)
  • b58522e .Net: SKContext class is removed (#3666)
  • c025402 .Net: Upgrade to the 8.0 LTS versions of nuget packages (#3672)
  • 69b1d7a .Net Clean Old Streaming APIs (#3667) [ #3658 ]
  • ca77b59 .Net: Extract Handlebars planner into it's own package (#3664)
  • 2785c0e...
Read more

python-0.4.0.dev

29 Nov 18:12
40b0af6
Compare
Choose a tag to compare

Breaking Changes

  • Upgrades OpenAI SDK to Version 1.0 or Higher.
    • This upgrade enables users and developers to access the latest features, improvements, and security enhancements in the OpenAI SDK. It ensures compatibility with new models and APIs, and offers improved performance and stability.
  • Revise and Enhance Class Hierarchies and Naming Conventions for Improved Clarity and Usability.
    • We've restructured class hierarchies and updated naming conventions for greater clarity and ease of use. For example, for Azure OpenAI, AzureTextCompletion now extends from AzureOpenAIConfigBase and OpenAITextCompletionBase, offering a more intuitive structure. Similarly, for OpenAI, OpenAIChatCompletion has been refactored from ChatCompletionClientBase and TextCompletionClientBase to OpenAIConfigBase, OpenAIChatCompletionBase, and OpenAITextCompletionBase, streamlining its functionality and making its purpose more explicit.
    • Note that you may need to update your class definitions to use keyword arguments as there was restructuring involved within the constructors of some classes.

What's Changed

New Contributors

Full Changelog: python-0.3.15.dev...python-0.4.0.dev

dotnet-1.0.0-beta8

16 Nov 21:26
ace7a70
Compare
Choose a tag to compare
dotnet-1.0.0-beta8 Pre-release
Pre-release

Breaking Changes:

  • 3dff0a3 .Net: Add serialisation and deserialisation of ChatHistory (#3517)

Changes:

  • ace7a70 .Net: Version 1.0.0-beta8 (#3534)
  • a585005 .Net: New sample showing how to use an enum with OpenAI function calling (#3532)
  • 54254fd Add support for OpenAPI responses and schema validation (#3450) [ #3129, #1978 ]
  • f5305c0 .Net: Remove unneeded InternalsVisibleTo in SK Abstractions project (#3533)
  • 31b5556 .Net Fix Issues and Function Call Example (#3527) [ #3492 ]
  • 97d8160 .Net: Add IAssistant.GetThreadAsync (#3524)
  • 5440770 .Net: Mark assistants assembly as experimental (#3525)
  • 5feec05 .Net: Delete StringExtensions (#3504)
  • 3f0062f .Net: Fix ApplicationInsights Example to use SpanId to correlate operations and activities (#3520)

This list of changes was auto generated.

dotnet-1.0.0-beta7

16 Nov 01:01
01fdb69
Compare
Choose a tag to compare
dotnet-1.0.0-beta7 Pre-release
Pre-release

Breaking Changes:

  • 446480b .Net: Refactor IAIServiceSelector to allow for additional parameters in future (#3447)
  • 5e5b4a4 .Net: Add support for arbitrary service attributes - Option #1 (#3415)

Changes:

See More
  • ca09459 .Net: Remove IOrderedEnumerable from method signatures (#3506)
  • 55cb52e .Net: Avoid creating new JsonSerializerOptions per Serialize/Deserialize (#3509)
  • fb6af41 .Net: Fix an unnecessary string.Join (#3505)
  • 24e2419 .Net: Adding Type and Schema to ParameterViews to create better function manuals. (#3453)
  • 9e7f550 .Net: Upgrade .Net notebooks to Microsoft.SemanticKernel, 1.0.0-beta6 (#3478)
  • ed17c74 .Net: Remove the code to load the BasicTemplateEngine by default (#3458)
  • 5e5b4a4 .Net: Add support for arbitrary service attributes - Option #1 (#3415)
  • c4525e3 .Net: Allow to exclude operations when importing and OpenAPI swagger (#3452)
  • 3791635 .Net: Remove the artificially created server-url parameter from OpenAPI function parameter view (#3427)
  • 4f4a663 .Net: Rename SKFunction factory methods (#3371)
  • e3ff3e3 .Net: Add ReturnParameterView for native functions (#3422)
  • 263c9c6 .Net: Small fixes for C# tutorial (#3449)

This list of changes was auto generated.

python-0.3.15.dev

19 Nov 15:12
dcad9f7
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: python-0.3.14.dev...python-0.3.15.dev

dotnet-1.0.0-beta6

09 Nov 17:27
a5b106e
Compare
Choose a tag to compare
dotnet-1.0.0-beta6 Pre-release
Pre-release

Breaking Changes:

  • 8da1cb7 .Net: Renamed Azure* classes and methods to AzureOpenAI* (#3399)
  • 2a9f927 .Net: Deleting all deprecated samples. (#3260)

Changes:

  • a5b106e .Net: Bump to version 1.0.0-beta6 (#3433)
  • 21a1284 .Net: MongoDB memory store connector for .NET (#2950) [ #2817 ]
  • e83570d .Net: Function calling: Add function author role and name property (#3421) [ #3017 ]
  • dd38e34 .Net: Chat Prompts - handling in Connector (#3387)
  • 86a2e3f .Net: Handlebars prompt template support (#3392)
  • cc6dd60 .Net: Fix postgres memory store dispose (#3177) [ #3121 ]
  • 49e057f .Net: Enable use of authentication info from Open AI plugin manifest (#3304)
  • 6ff0c2b .Net IKernel Function Hooks Phase 2 (Rendered Prompt Support) (#3351)
  • 1c6bcb7 .Net: Bump Microsoft.Data.Sqlite from 7.0.12 to 7.0.13 in /dotnet (#3401) [ #30996, #31954 ]
See More
  • d1c2721 .Net: Bump Microsoft.ML.Tokenizers from 0.21.0-preview.23266.6 to 0.21.0-preview.23511.1 in /dotnet (#3402)
  • 617a377 .Net: Bump Microsoft.Azure.Kusto.Data from 11.3.4 to 11.3.5 in /dotnet (#3403)
  • 2f010f3 .Net: Bump Polly from 8.0.0 to 8.1.0 in /dotnet (#3400) [ #1732, #1693, ext/Polly#1649, ext/Polly#1647, ext/Polly#1632, ext/Polly#1654, ext/Polly#1658, ext/Polly#1661, ext/Polly#1659, ext/Polly#1660, ext/Polly#1655, ext/Polly#1666, ext/Polly#1664, ext/Polly#1662, ext/Polly#1669, ext/Polly#1672, ext/Polly#1673, ext/Polly#1674, ext/Polly#1675, ext/Polly#1680, ext/Polly#1679, ext/Polly#1667, ext/Polly#1681, ext/Polly#1684, ext/Polly#1685, ext/Polly#1686, ext/Polly#1689, ext/Polly#1692, ext/Polly#1691, ext/Polly#1690, ext/Polly#1695, ext/Polly#1696, ext/Polly#1676, ext/Polly#1698, ext/Polly#1699, ext/Polly#1700, ext/Polly#1701, #1687, ext/Polly#1693, ext/Polly#1697, ext/Polly#1702, ext/Polly#1704, ext/Polly#1705, ext/Polly#1707, ext/Polly#1708, ext/Polly#1706, ext/Polly#1712, ext/Polly#1714, ext/Polly#1713, ext/Polly#1682, ext/Polly#1721, ext/Polly#1722, ext/Polly#1724, ext/Polly#1725, ext/Polly#1726, ext/Polly#1730, ext/Polly#1733, ext/Polly#1734, ext/Polly#1739, ext/Polly#1746, ext/Polly#1744, ext/Polly#1743, ext/Polly#1735, #1763, #1737 ]
  • f381fab ADR for mapping of prompt syntax to completion service model (#3338)
  • 0108614 Cleanup ADR folder (#3411)
  • aadde96 .Net: Bump xunit from 2.5.3 to 2.6.1 in /dotnet (#3405) [ #2806 ]
  • 730f200 .Net: Bump YamlDotNet from 13.1.1 to 13.7.1 in /dotnet (#3404) [ #859, #856, #839, #855, #853, #852, #824, #843, #834, #835, #836, #837, #841, #821 ]

This list of changes was auto generated.

dotnet-1.0.0-beta5

06 Nov 21:57
164a7ec
Compare
Choose a tag to compare
dotnet-1.0.0-beta5 Pre-release
Pre-release

Breaking Changes

  • 23dd525 .Net: Replace IPromptTemplateEngine with IPromptTemplateFactory Update prompt rendering and template engine in dotnet samples (#3348)
  • 746b421 .Net: Reduce visibility of two fields from public to private (#3354)
  • fe35311 .Net: Remove the Oobabooga AI connector (#3350)

Changes:

This list of changes was auto generated.