Releases: microsoft/semantic-kernel
Releases · microsoft/semantic-kernel
dotnet-1.8.0
Changes:
- 0c40031 .Net: Bump to version 1.8.0 (#5929)
- b83c9bd .Net: Fixes HuggingFace text generation support (#5941) [ #5940 ]
- bf5f917 .Net: Add support for making open api operation metadata and extension metadata available at function invocation time (#5911)
- 917b790 .Net: Update sample to show how to use enum[] with function calling (#5928) [ #5451 ]
- 41651ff .Net: ADR for function call content model classes (#5696)
- c8ce249 .Net: Function call content types (#5800)
- c72080d .Net - Introducing AgentGroupChat (Step #2) (#5725)
See More
- 76348d1 .Net: Deleting Planners.Core source which contained pre-V1 planners. (#5875)
- 67233e5 .Net: Fix KustoMemoryStore reading Timestamp column data type (#5600)
- d6378f7 .Net: Fix ignoring non-default search index name (#5843) [ #4213 ]
- 9d0f631 .Net: During OpenAPI import use payload parameter if specified (#5874) [ #5870 ]
- beef63c .Net Enable Usage of Custom Compatible Chat Message API Endpoints with OpenAI Connector + Examples (#4753)
- e416946 .Net Hugging Face TGI Chat Completion Message API Support (#5785) [ #5403 ]
- a27a46d .Net Google Connector - Enable Strong Name Signing (#5868)
- 71c16e1 .Net: Update more code with C# 11/12 features (#5852)
- 62cc40d .Net - Fix Experimental Agent Type Handling for Tool Calling (#5847)
- 1626f7a .Net: Extend plugins sample to demonstrate the use of enums (#5850)
- 2e3d8cf .Net: Fix a few straggler warnings from recently updated analyzers (#5838)
- 2e54c70 community office hours (#5840)
- 8d0662e .Net: Use C# 11/12 features throughout repo (#4387)
- cbbaa59 .Net - Agents IReadonlyList instead of IEnumerable (Step #ANY) (#5832)
- ebd21fa .Net - Voilà: Agent Framework (#5705)
- e74c742 .Net: Fix handling of generic return types in CreateFromMethod (#5821)
- f2e52bd .Net: Upgrade projects from net6.0 to net8.0 and adjust LangVersion to 12 (#5819)
- ead5b63 .Net: Add new kernel syntax sample which shows function calling planner with RAG (#5817) [ #4679 ]
- 71221a6 .Net: Focus CI on .NET 8 SDK (#5802)
- de20abe .Net: Bump Handlebars.Net.Helpers from 2.4.1.4 to 2.4.1.5 in /dotnet (#5807) [ #88 ]
- 15004f4 .Net: Bump DuckDB.NET.Data.Full from 0.10.1 to 0.10.1.2 in /dotnet (#5808)
- 9481b2a .Net: Bump xunit.runner.visualstudio from 2.5.6 to 2.5.7 in /dotnet (#5810) [ xunit/xunit#1655, #399, xunit/xunit#1651 ]
- 0a9e74a .Net: Remove JsonSchema.Net dependency from Microsoft.SemanticKernel.Abstractions/Core (#5635)
This list of changes was auto generated.
python-0.9.6b1
Notable Changes
- We've redesigned how plugins and functions integrate with the kernel to simplify their addition and minimize confusion. Now, use
kernel.add_plugin()
orkernel.add_plugins()
to add plugins andkernel.add_function()
orkernel.add_functions
for functions. You can add an OpenAPI plugin viakernel.add_plugin_from_openapi()
and an OpenAI plugin viakernel.add_plugin_from_openai()
. You can add a plugin in three ways:- Directly as a KernelPlugin instance—other parameters will be ignored.
- As a custom class with methods decorated by kernel_function.
- As a dictionary where one or more methods are decorated with kernel_function.
- See the add_plugin and add_function kernel code for implementation details.
- To enhance load performance, only the Kernel is loaded in the root init, with all other components moved to sub-packages. SK imports use full paths for clarity and modularity. Init files are generally positioned at the root+1 level (e.g., semantic_kernel.functions) to provide developers with necessary components, except in the connectors and utils directories where deeper navigation is required. For instance, OpenAI and Azure OpenAI specific functionalities are accessed via from
semantic_kernel.connectors.ai.open_ai import ...
. In contrast, sample code employs abbreviated paths to streamline the import process.
What's Changed
- Python: Bump pyarrow from 14.0.2 to 15.0.2 in /python by @dependabot in #5647
- Python: .Net: Fixed typos based on new spell checker vocabulary by @dmytrostruk in #5717
- Python: Bump transformers from 4.39.1 to 4.39.2 in /python by @dependabot in #5720
- Python: small fix for CH serialization by @eavanvalkenburg in #5738
- Python: Small docstring fix by @nickwalkmsft in #5741
- Python: Update to AOAI OYD 2024-02-15-preview API version by @abhahn in #5684
- Python: Fix the command for pipeline checks in DEV_SETUP.md by @tomoam in #5726
- Python: Add missing await to openapi client by @moonbox3 in #5759
- Python: dev_setup and readme updates by @eavanvalkenburg in #5770
- Python: updated decorator to allow no brackets by @eavanvalkenburg in #5776
- Python: removed pipeline by @eavanvalkenburg in #5779
- Python: two small updates to python workflows by @eavanvalkenburg in #5775
- Python: remove path by @eavanvalkenburg in #5793
- Python: Bump pillow from 10.2.0 to 10.3.0 in /python by @dependabot in #5758
- Python: Bump ruff from 0.3.4 to 0.3.5 in /python by @dependabot in #5816
- Python: Allow args to pass to func calling stepwise planner by @moonbox3 in #5830
- Python: Updated plugins by @eavanvalkenburg in #5827
- Python: Bump project version for release. Fix missing imports in notebooks. by @moonbox3 in #5871
- Python: Bump openai from 1.14.3 to 1.18.0 in /python by @dependabot in #5878
- Python: Bump openapi-core from 0.19.0 to 0.19.1 in /python by @dependabot in #5879
- Python: init cleanup by @eavanvalkenburg in #5872
New Contributors
- @nickwalkmsft made their first contribution in #5741
- @abhahn made their first contribution in #5684
Full Changelog: python-0.9.5b1...python-0.9.6b1
dotnet-1.7.1
Changes:
- 760f0f8 .Net: Bump version to 1.7.1 (#5791)
- e6b3633 .Net: Update stepwise planner to accept optional chatHistory to resume execution as needed. (#5718)
- 04994cd .Net: Move Gemini models to InternalModels directory (#5752) [ #5676 ]
- 9d52fef .Net: Added better formatting for responses from Bing Searches & Ability to use custom Bing Search endpoint. (#5673)
- d050f8d .Net: Baseline version 1.7.0 (#5764)
This list of changes was auto generated.
dotnet-1.7.0
Changes:
- 3df24ab .Net: Version 1.7.0 (#5743)
- 0c67613 .Net: Feature openaiai tokencredentials (#5747)
- 2321a45 .Net: Fix function result logging exception (#5745)
- ca9e3ae .Net - Add support for Name property to ChatMessageContent (#5666)
- 2ddb5ef .Net: Specialized SSE parser as Utility (#5710) [ #5610 ]
See More
- c65644a .Net: Improved Logging for 06-memory-and-embeddings.ipynb (#5638)
- 0735e84 .Net - Fix Assistant type conversion for function calling (#5707)
- 1b43bcc .Net [4877] SK format the weaviate (#5049)
- 434c8b4 .Net: Bump Azure.AI.OpenAI from 1.0.0-beta.14 to 1.0.0-beta.15 in /dotnet (#5721)
- da05c19 .Net: Publish Microsoft.SemanticKernel.Plugins.OpenApi.Extensions package (#5716)
- e32ab5e .Net Stream Json Parser as Utility for Connectors. (#5574)
- 87ead74 .Net & Python: Fix broken links in notebooks (#5698)
- e383a44 .Net: Bump Handlebars.Net from 2.1.4 to 2.1.5 in /dotnet (#5719) [ #574, #575, #570, #564, #552, #567, #566, #569, #568, #576 ]
- 310027c .Net: Bump Roslynator.Formatting.Analyzers from 4.11.0 to 4.12.0 in /dotnet (#5723)
- ad0ea8d .Net Adding Experimental Gemini Connector to Main. (#5463)
- 862858a .Net: Bump Grpc.Net.Client from 2.61.0 to 2.62.0 in /dotnet (#5722) [ grpc/grpc-dotnet#2379, grpc/grpc-dotnet#2376, grpc/grpc-dotnet#2382, grpc/grpc-dotnet#2383, grpc/grpc-dotnet#2400, #2400, #2383, #2382, #2376, #2379 ]
- dfd866b .Net: Marking the ToolCallResultSerializerOptions as obsolete. (#5700)
- f76fd5f .Net Hugging face exp update (#5675)
- 0de7d34 .Net - Support Azure Endpoint for File-Service (#5640)
- 2a23617 .Net - Fixed creation of Kernel for Azure Open AI case. (#5664)
- a947617 .Net: Broaden Response ContentType Checking Logic (#5642)
- 7fd2ac3 .Net - Remove empty properties for content serialization. (#5644)
- 8f732b9 .Net: introduce ApiManifestPluginParameters to support multiple API dependencies (#5605) [ #5603 ]
- b997dcb .Net Fix Add Missing OpenAI Connector Choice properties to Metadata (#5655) [ #5289 ]
- 4aeeb9e .Net: Bump Microsoft.Extensions.DependencyInjection.Abstractions from 8.0.0 to 8.0.1 in /dotnet (#5652) [ #95439, #95148, #95082, #94882, #95119 ]
- bb94966 .Net: Units test which demonstrate testing Kernel Invoke methods without mocking (#5609)
- 41a85b2 .Net: Add some Kernel checks to the RequiredFunction behavior (#5637)
- 9aed71f .Net: Removed unneeded use of RedirectOutput (#5634)
- 9bac78e .Net: Bump Roslynator.CodeAnalysis.Analyzers from 4.11.0 to 4.12.0 in /dotnet (#5651)
- 1eed52e .Net: Bump Microsoft.Extensions.TimeProvider.Testing from 8.2.0 to 8.3.0 in /dotnet (#5649)
- 8cef22e .Net: Bump coverlet.collector from 6.0.0 to 6.0.2 in /dotnet (#5648)
- f0b1d0d Bump danielpalme/ReportGenerator-GitHub-Action from 5.2.2 to 5.2.4 (#5645)
- 6252ef6 Initial function calling sequence diagrams (#5507)
- 1a583eb .Net: Remove unnecessary finalizers / dispose pattern implementations from tests (#4432)
- 9ab9513 .Net: Update Milvus memory connector to 2.3 (#5593)
- 73b0376 .Net: Remove use of Console.SetOut as it impacts other tests (#5627)
- a7d5bbf .Net & Python: Fix Broken Links (#5393) [ #4910 ]
- f137bb7 .Net: Improve performance of the text splitter by reducing calls to tokenizer (#5607) [ #5489 ]
- b0a37ea .Net: CJK support for text splitter (#5489)
- a3a4691 Add some guidance on using version suffixes (#5571)
- 1ce0343 .Net: Remove default chat system prompt (#5551) [ #5544 ]
- c304e85 .Net: Add BERT ONNX embedding generation service (#5518)
- 579f453 .Net: Avoid duplicated logic between GetOpenAIClientOptions impls (#5570)
- 51ee30f .Net: Upgrade to completion API version 2024-02-01 (#5555)
- 02866be .Net: Disable Azure SDK network timeout when a custom HttpClient is supplied (#5553)
- 1157fe3 .Net: Update Example14_SemanticMemory.cs (#5563)
- 6be22a5 .Net: Baseline 1.6.3 (#5557)
- 0a44a66 .Net: Loosen TextChunker's lines input type (#5502)
This list of changes was auto generated.
python-0.9.5b1
What's Changed
- Python: updated openai chat sample by @eavanvalkenburg in #5596
- Python: add additional handlebars test, to make sure built-in helpers run by @eavanvalkenburg in #5594
- Python: Fix Broken links by @justindhillon in #5393
- Python: fixed the broken link by @01011011 in #5606
- Python: Remove jinja2 built in helpers from custom helpers. Introduce messages custom func helper. by @moonbox3 in #5617
- Python: Allow function calling stepwise planner to use AzureOpenAI chat service by @moonbox3 in #5618
- Python: Fix - Action Planner breaking when parameters are not explicitly given in the ask by @ArfiArfath21 in #5590
- Bump danielpalme/ReportGenerator-GitHub-Action from 5.2.2 to 5.2.4 by @dependabot in #5645
- Python: small fix for running prompt without any execution settings by @eavanvalkenburg in #5687
- Python: Enhance Chat Message Content creation and parsing by @eavanvalkenburg in #5520
- Python: mypy clears kernel.py by @eavanvalkenburg in #5689
- Python: Introduce operations to handle OpenAI plugins, improve OpenAPI plugins, and allow for auth by @moonbox3 in #5695
- Python: Bump versions to 0.9.5b1 for release. by @moonbox3 in #5713
- Python: fixing README.md example in python by @jadry92 in #5708
- Python: Honor the function calling options if configured. by @moonbox3 in #5701
New Contributors
- @01011011 made their first contribution in #5606
- @justindhillon made their first contribution in #5393
- @ArfiArfath21 made their first contribution in #5590
- @jadry92 made their first contribution in #5708
Full Changelog: python-0.9.4b1...python-0.9.5b1
python-0.9.4b1
What's Changed
- Python: Add support for yaml prompt template by @moonbox3 in #5527
- Python: Enhanced pre commit and tasks by @eavanvalkenburg in #5512
- Python: rebuilt xml creation and parsing by @eavanvalkenburg in #5550
- Python: Bump black from 24.2.0 to 24.3.0 in /python by @dependabot in #5540
- Python: Bump weaviate-client from 4.5.1 to 4.5.4 in /python by @dependabot in #5542
- Python: Ollama: Correct API parameters by @juharris in #5564
- Python: preprend 'Semantic-Kernel' to User-Agent, and add version key-value pair to headers by @moonbox3 in #5565
- Python: Bump python version to 0.9.4b1 for release by @moonbox3 in #5577
New Contributors
Full Changelog: python-0.9.3b1...python-0.9.4b1
dotnet-1.6.3
Changes:
- 2a06539 .Net: Version 1.6.3 (#5556)
- 561a9be .Net: Use state for the tokenizer/encoding for all examples with a tokencount (#5519) [ #5515 ]
- b302550 ADR Updated Completion Service Selection Strategy (#5479)
- a24e0b0 .Net: Set baseline to 1.6.2 (#5473)
- e0ac74e .Net: Bump DuckDB.NET.Data.Full from 0.9.2 to 0.10.1 in /dotnet (#5532)
- d4bf83c .Net: Bump NRedisStack from 0.11.0 to 0.12.0 in /dotnet (#5530)
- ac15edf .Net: Bump DocumentFormat.OpenXml from 3.0.1 to 3.0.2 in /dotnet (#5531) [ #1658, #1679, #1677, #1674, #1676, #1678, #1672, #1671, #1660 ]
- b5010f8 .Net: Bump Markdig from 0.34.0 to 0.36.2 in /dotnet (#5533) [ #780, #779, #776, #773 ]
- 88bdb11 .Net - Fix Open AI Agent Run State Processing (#5488)
- bf64bdd .Net: Sample image to text - Small fix (#5492)
See More
- 043e49b .Net: These two examples should be in the Examples namespace (#5491)
- 6c42d69 Update deprecated property values (#5482)
- 3945bbb .Net: Create clone of KernelFunction when it is added to a KernelPlugin (#5422)
- 4cd2675 .Net HuggingFace Image to Text Sample Windows Forms Application (#5484)
- 74ff46f .Net - Expose Agent Thread Messages (#5486)
- b794c4a .Net - Fix agent function invocation and examples (#5481)
- 74d61ed .Net: ADR for audio abstraction and implementation renaming (#5117)
This list of changes was auto generated.
python-0.9.3b1
Notable Changes
- We're excited to expand our SDK's templating capabilities by introducing two powerful templating languages: Handlebars and Jinja2. By introducing Handlebars, we ensure developers can utilize consistent prompt structures in both Python and dotnet environments, enhancing cross-language compatibility and making the development process more seamless. Both Handlebars and Jinja2 allow for their ability to handle loops, variables, and the execution of static functions within templates. This introduces a new level of flexibility and power, allowing developers to craft dynamic and complex prompts more efficiently.
We're working on a detailed blog post that covers SK Python's templating features covering the default kernel template, and the new Handlebars and Jinja2 prompt templates.
What's Changed
- Python: convert null descriptions to empty str in basic planner by @tonymuu in #5406
- Python: Example notebook incorrect deployment name definition by @ABCurado in #5402
- Bump actions/setup-dotnet from 3 to 4 by @dependabot in #5430
- Bump actions/setup-python from 4 to 5 by @dependabot in #5433
- Python: Bump openapi-core from 0.18.2 to 0.19.0 in /python by @dependabot in #5306
- Python: Handlebars template support by @eavanvalkenburg in #5466
- Python: planner love by @eavanvalkenburg in #5477
- Python: support Jinja2 templating by @moonbox3 in #5483
- Python: Bump python package versions to 0.9.3b1 for release. by @moonbox3 in #5497
New Contributors
Full Changelog: python-0.9.2b1...python-0.9.3b1
dotnet-1.6.2
python-0.9.2b1
Notable Changes
- We've introduced the Function Calling Stepwise Planner in Python. We've created a kernel example showing how it works.
What's Changed
- Python: Use the correct exception key for handling streaming exceptions in the kernel by @moonbox3 in #5417
- Python: add missing init from prompt_template folder by @eavanvalkenburg in #5413
- Python: update usearch to 2.9 by @eavanvalkenburg in #5420
- Python: add py3.12 to unit tests by @eavanvalkenburg in #5191
- Python: Add extras and minor package updates by @eavanvalkenburg in #5440
- Python: Introduce the function calling stepwise planner by @moonbox3 in #5350
- Python: Add missing argument by @sunyiming in #5439
- Python: remove other py versions from test coverage matrix by @eavanvalkenburg in #5453
- Python: Fixed unnecessary slashes in URLs by @ymuichiro in #5237
- Python: Remove py test coverage by @moonbox3 in #5456
- Python: replace py test coverage yml. remove unneeded requirements.txt file from sample plugin by @moonbox3 in #5459
- Python: Pass kernel args to tool calls by @moonbox3 in #5455
- Python: Bump python version to 0.9.2b1 for release. by @moonbox3 in #5462
New Contributors
- @sunyiming made their first contribution in #5439
Full Changelog: python-0.9.1b1...python-0.9.2b1