Releases: microsoft/semantic-kernel
Releases · microsoft/semantic-kernel
python-0.9.0b1
Notable Changes
- We've published the first SK Python Beta package, 0.9.0b1. The details of the beta release can be found here.
What's Changed
- Python: check if timestamp exists by @john0isaac in #4977
- Python: Support for cases where "logprobs" does not exist(OpenAITextCompletionBase) by @ymuichiro in #5071
- Python: Update 09-groundedness-checking.ipynb - Tiny Typo by @mindlessroman in #3425
- Python: Bump google-generativeai from 0.2.2 to 0.3.2 in /python by @dependabot in #4386
- Python: Bump pydantic from 2.5.2 to 2.6.1 in /python by @dependabot in #4986
- Python: Bump psycopg from 3.1.15 to 3.1.18 in /python by @dependabot in #4988
- Python: Bump weaviate-client from 3.25.3 to 4.4.4 in /python by @dependabot in #5095
- Python: Bump cryptography from 42.0.0 to 42.0.4 in /python by @dependabot in #5111
- Python: Fixing python document pipeline by @aayush3011 in #3744
- Python: major features for the Kernel Arguments, Function Result and new Prompt Templating by @eavanvalkenburg in #5077
- Python: Remove the memory tied to the kernel. Update kernel examples and notebooks. by @moonbox3 in #5143
- Python: split kernelfunction into fromprompt and frommethod classes by @eavanvalkenburg in #5159
- Python: Bump regex from 2023.10.3 to 2023.12.25 in /python by @dependabot in #5179
- Python: update ruff to 0.2.2 by @eavanvalkenburg in #5192
- Python: test added for multiple settings in one prompt function by @eavanvalkenburg in #5194
- Python: Bump azure-core from 1.29.6 to 1.30.0 in /python by @dependabot in #5181
- Python: Bump python-dotenv from 1.0.0 to 1.0.1 in /python by @dependabot in #5177
- Python: remove _async from methods by @david-polo in #5160
- Python: updated relevant parts from xml to defusedxml by @eavanvalkenburg in #5195
- Python: rebuilt exceptions structure; pythonic version by @eavanvalkenburg in #5231
- Python: Added metadata specifying connection stems from MSK code by @Jibola in #5232
- Python: bugfix: min relevance score calculation filtering on mongodbatlas semantic search by @Jibola in #5224
- Python: updated python tests with cache and added coverage by @eavanvalkenburg in #5251
- Python: update test coverage workflow by @eavanvalkenburg in #5259
- Python: Migrate and update docs samples by @moonbox3 in #5235
- Python: Complex Type support for Method functions by @eavanvalkenburg in #5260
- Python: Enhance py test coverage message by @eavanvalkenburg in #5284
- Python: small update to python test coverage workflow by @eavanvalkenburg in #5285
- Python: remove final step of test coverage, causes errors by @eavanvalkenburg in #5286
- Python: small fix in create_function_from_prompt to match KernelFunctionFromPrompt by @eavanvalkenburg in #5288
- Python: Remove MotorCommandCursor in import typing by @Jibola in #5222
- Python: Bump pyproject.toml to 0.9.0.beta1 for beta release. Match notebooks. by @moonbox3 in #5291
New Contributors
- @ymuichiro made their first contribution in #5071
- @mindlessroman made their first contribution in #3425
Full Changelog: python-0.5.1.dev...python-0.9.0.beta1
dotnet-1.5.0
Changes:
- 54a7f2f .Net: Version 1.5.0 (#5198)
- 2138724 .Net: Bump MongoDB.Driver from 2.23.1 to 2.24.0 in /dotnet (#5176) [ #1271, #1268, #1269, #1264, #1266 ]
- 629c7c8 .Net: Bump Microsoft.Data.Sqlite from 8.0.0 to 8.0.2 in /dotnet (#5174) [ #32838, #32841, #32840 ]
- b1d3de2 .Net: Bump System.Text.Json from 8.0.1 to 8.0.2 in /dotnet (#5180) [ #97110, #97065, #96838, #96566 ]
- 0e10dd5 .Net ImageToText Abstraction + HuggingFace Connector ImageToText support. (#5150) [ #4947 ]
- 0f97fdc .Net: Bump Microsoft.Extensions.TimeProvider.Testing from 8.0.0 to 8.2.0 in /dotnet (#5182)
- 90de4f8 .Net: Adding #each block details + jsonSerializer fix to handle named FP literals (#5183) [ #4838 ]
- 36ce92f .Net Single source of truth for chat message content (#5088)
See More
- 9a7dc1a .Net: Tuning HB Planner - CreatePlan prompt, template extraction, and type handling (#5137) [ #4751, #4250, #4721 ]
- 5288bcb .Net The 'Source' property added to the ChatMessageContent class (#5091)
- f40ea59 .Net: First step to make ChatMessageContent more serialization-friendly (#5131)
- 6f46b04 .Net Add image support for Agent responses (#5113)
- e4d2975 .Net: Updated audio abstractions to return multiple values (#5149)
- 8858733 Adding HandlebarsPlanCreationException (#4973)
- d38b45d .Net: [HB Planner] Content type fix (#5133) [ #5127 ]
- 316ff5d .Net Hugging Face HttpClient Connector Update (#5075) [ #4947 ]
- f9771c6 .Net: Add model documentation (#4392)
- fe29d1a .Net: Unit test showing some strategies to unit test kernel functions (#5068)
- cd463b8 .Net AudioContent class moved to the Microsoft.SemanticKernel namespace (#5112)
- 38349e9 .Net: More API Manifest plugin examples from Microsoft Graph (#5098) [ #4991 ]
- f8e563a .Net: Add early return if Freeze method is called on a frozen object (#5057)
- 1f731ca .Net - Updated Open AI Assistant Model Serialization (#5102)
- 6954e97 .Net: Added example of Azure AI Search as Plugin with custom schema and configurable search fields (#5093)
- 08569f5 .Net: Added support for BinaryData for ImageContent. (#5008) [ #4781 ]
- abc8e5d .Net: Bump Microsoft.Extensions.Configuration.Binder from 8.0.0 to 8.0.1 in /dotnet (#5082) [ #95439, #95148, #95082, #94882, #95119 ]
- 9cf319e .Net: Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0 in /dotnet (#5081)
- 6ccf426 .Net: Bump Roslynator.Formatting.Analyzers from 4.10.0 to 4.11.0 in /dotnet (#5080) [ #1391, #1407, #1404, #1401, #1403, #1402, #1, #1390, #1389, #1386 ]
- cf3e9dd .Net: Bump Roslynator.Analyzers from 4.10.0 to 4.11.0 in /dotnet (#5079) [ #1391, #1407, #1404, #1401, #1403, #1402, #1, #1390, #1389, #1386 ]
- 6b3e2eb .Net: Bump xunit.analyzers from 1.10.0 to 1.11.0 in /dotnet (#5078) [ xunit/xunit#2870, #180, xunit/xunit#2873, #179 ]
- 9a8c0be .Net: Add new Semantic-Kernel-Version header to all HTTP requests (#5048) [ #5037 ]
- 052c381 .Net: Update the integration tests readme to include instructions for audio tests (#5051)
- a9c4535 .Net. ContentFilterResults added to text/message content metadata (#5020)
- 4e7009a .Net: Baseline version 1.4.0 (#5017)
- 7a9a8e3 .Net: OpenAI is throttling requests. Temporarily disable these tests pending switch to using Azure OpenAI. (#5073)
- 1dfb45f .Net: Removing Insufficient functions error (#4983) [ #4442 ]
- 27d5ffe .Net: Create Plan Prompt Override (#5005)
- 0a60d9c .Net: Fix kernel syntax sample numbering (#5031)
- e4f9c75 .Net: API Manifest Plugins (#4961) [ #4662 ]
- 1ba6236 .Net: Improved Audio API by adding default setting values (#5026)
- 6feffd3 .Net Add Audio examples (#5019)
This list of changes was auto generated.
dotnet-1.4.0
Changes:
- 6fb8a46 .Net: Bump to version 1.4.0 (#5015)
- 4671853 .Net: Allow access KernelFunction.ExecutionSettings from IAIServiceSelector (#4860) [ #4487 ]
- 1490eb6 .Net: Audio-to-Text abstraction and OpenAI implementation (#4932)
- b9abe0a .Net: Text-to-Audio abstraction and OpenAI implementation (#4933)
- 6652ce6 .Net: Configurable Handlebars Planner prompt (#4918) [ #4067 ]
- 8675603 .Net - Open AI File Service Support (#4868)
- 182917f .Net: Fixed Azure AI Search asynchronous operation execution (#4992)
- 70c3403 .Net - OpenAI File Service ADR (#4803)
- 48b6bb2 .Net: Fixed usage of chat system prompt (#4994)
See More
- 715d0d7 .Net: Bump Roslynator.Formatting.Analyzers from 4.3.0 to 4.10.0 in /dotnet (#4981) [ #1371, #1376, #1377, #1366, #1373, #1374, #1370, #1360, #1369, #1368 ]
- 0ce7a59 .Net: Sets serialization depth to 128 (#4993) [ #4991 ]
- af83e71 .Net: Bump Microsoft.ML.Tokenizers from 0.21.0 to 0.21.1 in /dotnet (#4985)
- 3c8e5c9 .Net: Bump Microsoft.VisualStudio.Threading.Analyzers from 17.8.14 to 17.9.28 in /dotnet (#4984)
- 504d987 .Net: Bump xunit from 2.6.4 to 2.6.6 in /dotnet (#4982) [ #2863, #2334, #2854 ]
- 5f06807 .Net: Bump SharpToken from 1.2.14 to 1.2.15 in /dotnet (#4980) [ #28 ]
- da3f082 .Net - Add support for Azure Open AI Assistants API (#4958)
This list of changes was auto generated.
dotnet-1.3.1
Changes:
- b43694d .Net: Bump to version 1.3.1 (#4967)
- e20dfc4 .Net: Chat completion agent (#4911)
- 12e4358 .Net: Added fix for null completion usage details (#4956)
- dc5a0e3 .Net: Support work and school accounts for Microsoft Graph Connector (#4963) [ #4962 ]
- 2a83e5b .Net: reintroduce publish config and set IsPackable to false for Functions.OpenApi.Extensions project (#4954) [ #4867 ]
- 08e2ed3 .Net: ADR for RAG pattern in SK (#4771)
- fc5d2b3 .Net: Bump NRedisStack from 0.9.0 to 0.11.0 in /dotnet (#4524)
See More
- 8d54174 .Net: added Functions.OpenApi.Extensions project (#4867) [ #4851, #4662 ]
- a12262f Revert "Failed links are temporarily excluded from the link-checking action" (#4939)
- 98e4dc3 .Net - Update "InternalUtilities" solution folder to include current code files. (#4916)
- 70ac836 Failed links are temporarily excluded from the link-checking action. (#4931)
- fcea354 Python: Support for cases where "logprobs" does not exist (#4924)
- 0cfbc87 Fix broken links (#4930)
- dcd7e14 .Net: Fix PlannerInstrumentation log message typo (#4904)
- 7e43195 .Net - Format agent output for AskAsync (agent as a plug-in) (#4907)
- 3a7d3bd .Net: Planner options improvements (#4793) [ #4727, #4728, #4729, #4731, #4775 ]
- 71666b9 .Net - Fix Agent Message Ordering for Multimessage Runs (#4883)
- 4b0172d .Net: Implicit JSON to target type conversion (#4757)
- 59508ca .Net: Update azure.ai.openai to beta 13 (#4861)
- bf2932c .Net Small fixes in samples Step1-8 (#4805)
- ff256e3 .Net Add remarks to OpenAIPromptExecutionSettings.ResponseFormat (#4842)
- 04c18c0 .Net: Bump Microsoft.DeepDev.TokenizerLib from 1.3.2 to 1.3.3 in /dotnet (#4885) [ #27, #26, #23, #22, #21, #19 ]
- 95a4f1b .Net: Bump xunit.analyzers from 1.8.0 to 1.10.0 in /dotnet (#4886) [ xunit/xunit#2120, xunit/xunit#2680, #178, xunit/xunit#2859 ]
- c5d33ad .Net: Bump Azure.Monitor.OpenTelemetry.Exporter from 1.1.0 to 1.2.0 in /dotnet (#4887) [ #41537, #41206, #41496, #41209, #41205, #41204, #41181, #41178, #41177, #41176 ]
- 0f2ed1f .Net: Bump Roslynator.CodeAnalysis.Analyzers from 4.3.0 to 4.10.0 in /dotnet (#4888) [ #1371, #1376, #1377, #1366, #1373, #1374, #1370, #1360, #1369, #1368 ]
- 4dd21de .Net: Adding EnumType PodType.Nano to Pinecone Connector (#4852) [ #4702 ]
- 8931ab6 .Net: SK Agents (#4740)
- cd852e0 .Net: Fix bug to allow activation of JSON mode through execution_settings (#4774) [ #4719 ]
- eed5193 .Net: Add a Unit Test to ensure the Service Attributes defined previously in the service are available in the ServiceSelector to be used as a filter. (#4854) [ #3465 ]
- 52e317a Fixing logic in custom
or
HB helper (#4804) - 22bfdf8 .Net: Move documentation examples from documentation repo into SK repo (#4704)
- 33c2eb5 .Net: OpenAI embeddings refactor (#4600) [ #3295, #3294 ]
- 0f060f8 .Net: Update the baseline to 1.3.0 (#4801)
This list of changes was auto generated.
python-0.5.1.dev
What's Changed
- Python: Make the Kernel class Pydantic. by @moonbox3 in #4850
- Python: Pydantic-ify the KernelFunction class. Fix code paths related to tool_calls. by @moonbox3 in #4863
- Python: Bump fastapi from 0.105.0 to 0.109.1 in /python by @dependabot in #4874
- Python: Set the default plugins on the semantic function. Add a unit test. by @moonbox3 in #4897
- Python: Bump cryptography from 41.0.7 to 42.0.0 in /python by @dependabot in #4890
- Python: Bump torch from 2.0.0 to 2.2.0 in /python by @dependabot in #4901
- Python: Bump pillow from 10.1.0 to 10.2.0 in /python by @dependabot in #4701
- Python: Bump aiohttp from 3.9.1 to 3.9.3 in /python by @dependabot in #4882
- Python: Bump pycryptodome from 3.19.0 to 3.19.1 in /python by @dependabot in #4494
- Fix broken links by @moonbox3 in #4930
- Python: Remove cross lingual sample for AOAI OYD by @sarah-widder in #4915
- Python: streaming fix for Python: SK 0.5.0 breaks streaming #4925 by @eavanvalkenburg in #4928
- Python: Support for cases where "logprobs" does not exist by @yuichiromukaiyama in #4924
- Python: .Net: Remove legacy samples/skills as plugins are now only used. by @moonbox3 in #4880
- Python: Fix 06 memory notebook missing plugin name. by @moonbox3 in #4906
- Revert "Failed links are temporarily excluded from the link-checking action" by @SergeyMenshykh in #4939
- Python: fixes for hugging face and working integration tests by @eavanvalkenburg in #4927
- Python: Add CMK support to create Index by @charotAmine in #4949
- Python: Bump python project version for release. Update notebooks. by @moonbox3 in #4951
New Contributors
- @yuichiromukaiyama made their first contribution in #4924
- @charotAmine made their first contribution in #4949
Full Changelog: python-0.5.0.dev...python-0.5.1.dev
dotnet-1.3.0
Changes:
- d34bef7 .Net: Bump to version 1.3.0 (#4798)
- a535568 .Net: Bump Roslynator.Analyzers from 4.3.0 to 4.10.0 in /dotnet (#4779)
- ce32378 .Net: Bump Microsoft.Extensions.Http.Resilience, Microsoft.Bcl.TimeProvider and System.Text.Json in /dotnet (#4778)
- 6f5741a .Net: Articles grammar correction (#4749)
- 216d6c9 Update COMMUNITY.md (#4738)
- 4317f27 .Net: update link to .NET8.0 download (#4756)
- ea4ec54 .Net: Reverted example with filters (#4737)
- 91297d9 ADR Connector Community Support (#4619)
- a3954e2 .Net: Pass user field in SK C# (#4736)
- f959256 .Net: Upgraded baseline version for package compatibility (#4726)
This list of changes was auto generated.
python-0.5.0.dev
Notable Changes
We're progressing towards the v1.0 release of our SDK, featuring significant enhancements and modifications:
- Unified response objects for Chat, Text, and Embedding completions under the
KernelContent
class. This change offers multiple advantages, including consistency with our dotnet implementation and a more streamlined handling of responses. TheKernelContent
base class provides an efficient way to access response metadata and inner content. - Updated the terminology from
AIRequestSettings
toPromptExecutionSettings
, to better align with dotnet terminology. - Overhauled the plugin and function architecture to utilize the
KernelPluginCollection
class. This update involves removing outdated code and base classes associated with PluginCollection and ReadOnlyPluginCollection. - Discontinued support for synchronous function execution, which previously relied on asyncio and led to complications.
What's Changed
- Python: implement KernelContent and all related classes by @eavanvalkenburg in #4491
- Python: Add astra memory by @david-polo in #4374
- Python: Renames request settings to prompt execution settings by @juliomenendez in #4782
- Python: Remove sync function invoke. Update other code to use async invoke. by @moonbox3 in #4796
- Python: Add kernel plugin collection and remove old plugin collection classes by @moonbox3 in #4764
- Python: Bump python version to 0.5.0 for release. Update notebooks. by @moonbox3 in #4849
New Contributors
- @david-polo made their first contribution in #4374
Full Changelog: python-0.4.7.dev...python-0.5.0.dev
python-0.4.7.dev
Notable Changes
- In order to maintain consistency with the .Net SDK, we have eliminated the "SK" prefix from our class and file names. For example, "SKContext" has been renamed to "KernelContext," and "SKFunction" is now "KernelFunction."
- To enhance the Pythonic nature of our SDK, we've decided to remove the _async suffix from methods that lack a synchronous counterpart. This change aligns better with Python naming conventions and follows the naming practices seen in the Azure Python SDK.
What's Changed
- Python: Sets a valid default content filter code to ResponsibleAIPolicyViolation by @juliomenendez in #4715
- Python: Renames SK prefix to Kernel by @juliomenendez in #4716
- Python: updates to chat_prompt and related by @eavanvalkenburg in #4720
- Python: Removes the _async suffix where is not needed by @juliomenendez in #4735
- Python: bump pyproject version for release. Update notebook package versions. by @moonbox3 in #4760
Full Changelog: python-0.4.6.dev...python-0.4.7.dev
dotnet-1.2.0
Changes:
- 84e1a77 .Net: Upgraded package version to 1.2.0 (#4723)
- afa187d .Net: Update FlowOrchestrator to use yaml plugins and reliability improvement (#4665)
- 80f598c .Net: Marked Kernel events as deprecated in favor of filters (#4714)
- 79119f1 .Net: Implementation of FunctionResultExtended with kernel example (#3380)
- de9b8d8 .Net: OpenApi operation name sanitization (#4708)
- 6a6e170 .Net: Bump DocumentFormat.OpenXml from 3.0.0 to 3.0.1 in /dotnet (#4700)
- 3537ff4 .Net: Bump Microsoft.OpenApi from 1.6.11 to 1.6.12 in /dotnet (#4699)
See More
- 1fa3f53 .Net: Function and Prompt Filters (#4437)
- e4874bb .Net: Extend chat message parsing and add relevant unit tests (#4602) [ #4536 ]
- 3fadf9a .Net: Add an example showing how to use the OpenAI response format property (#4678)
- 59b384f .Net: Add planner integration test configuration to README (#4512)
- f2fb71d .Net: Converted examples 52 and others to tests (#4649) [ #4526 ]
- 7fb6af2 .Net: Remove use of the samples/skills folder (#4684)
- a919536 .Net: CancelKernelEventArgs is marked with SKEXP0003 Experimental Attribute instead of SKEXP0004 (#4657) [ #4650 ]
- a5bc63d .Net: DefaultValue for OpenAPI payload properties (#4612)
- b2bbd41 .Net: Update PackageValidationBaselineVersion (#4663)
- fe23d41 .Net: Fix issue #4608 (#4609)
- 1c07c2f .Net: Remove the NCalc Plugin (#4625)
- da51b70 .Net: Catch InvalidOperationException in RedirectOutput.Log (#4651)
- 4205cd3 .Net: Increase code coverage and add threshold to build pipeline (#4610)
- 4ec03be .Net: Remove Polly as a dependency (#4617)
- 7d47e90 .Net: Simplify example 52 to showcase using a custom OpenAIClient in genera… (#4502) [ #3844 ]
- b9c1adc .Net: Aligning the SK agent HTTP stack behavior with the SK one (#4569)
- b99b780 .Net Kernel Examples as tests (#4526)
This list of changes was auto generated.
python-0.4.6.dev
Notable Changes
- As we advance towards our objective of bringing SK Python to version 1.0, we are implementing several significant modifications. These updates are aimed at ensuring consistency with SK .NET and adhering to industry norms. In the current release, we have updated all occurrences of
Skills
toPlugins
. This modification impacts class names, variable names, as well as filenames and directory names. completion
settings were updated toexecution_settings
. This change is related to thePromptTemplateConfig
andAIRequestSettings
and brings the Python code in better alignment with how it is done in .NET.
What's Changed
- Python: Bump jinja2 from 3.1.2 to 3.1.3 in /python by @dependabot in #4583
- Python: Fix OYD tool message parsing by @sarah-widder in #4599
- Python: Fixes
Plan
using an empty function in describe and incorrectly setting context variables for next steps. by @juliomenendez in #4673 - Python: Rename skills to plugins. Update prompt template config to use execution settings to align with dotnet. by @moonbox3 in #4595
- Python: Bump pyproject version to 0.4.6. Bump notebook sk versions to 0.4.6. by @moonbox3 in #4712
Full Changelog: python-0.4.5.dev...python-0.4.6.dev