Releases: microsoft/semantic-kernel
Releases · microsoft/semantic-kernel
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
dotnet-1.6.1
What's Changed
- .Net: Updated package validation baseline version by @dmytrostruk in #5215
- .Net: Python: remove _async from methods by @david-polo in #5160
- .Net - Fix Agent HTTP Request Header by @crickman in #5246
- .Net: Added ConfigureAwait(false) to asyncReference in InvokeStreamingCoreAsync by @xbotter in #5282
- .Net: Update classes so namespaces are consistent and match project location by @markwallace-microsoft in #5275
- .Net: [Agent] Fixed an issue with retrieving an existing OpenAI assistant given its ID, leading to creation of a duplicate assistant. by @shreyas-pandey in #5294
- .Net: Bump Microsoft.Net.Compilers.Toolset from 4.9.0-3.final to 4.9.2 in /dotnet by @dependabot in #5297
- .Net: Bump Microsoft.OpenApi from 1.6.12 to 1.6.13 in /dotnet by @dependabot in #5299
- .Net: Marked Experimental.Orchestration.Flow package as alpha by @dmytrostruk in #5239
- .Net: Removing dependency on BinaryData class from content classes by @SergeyMenshykh in #5229
- .Net: minor change so that inputs are not skipped in Planner example by @nkelly75 in #5266
- .Net: Fix serialization of OpenAIChatMessageContent type by @SergeyMenshykh in #5301
- .Net: Add home automation example to demonstrate how to use DI in a real app by @glahaye in #4940
in #5328 - .Net: Bump xunit from 2.6.6 to 2.7.0 in /dotnet by @dependabot in #5305
- .Net: Add File Id Reference Handling to Experimental Agent Package so that User Messages can be related to file Ids in OpenAI Storage by @Ryan-Britton in #5110
- .Net: Fix samples numbering by @Krzysztof318 in #5351
- .Net: Update Azure.AI.OpenAI to 1.0.0-beta.14 by @stephentoub in #5377
- .Net: Respect Kernel plugin changes made during function auto-invocation by @stephentoub in #5376
- .Net: ADR for supporting more type info in FunctionView by @alliscode in #3430
- .Net: Update Example72_AgentCollaboration.cs by @StuartMorrisHitachi in #5369
- .Net: Fix for DALL-E endpoint name in examples by @SergeyMenshykh in #5388
- .Net: Reduce number of experimental flags used by @markwallace-microsoft in #5347
- .Net: Fix OpenAI connector compatibility by @JadynWong in #5338
- .NET: ADR describing the Semantic Kernel versioning approach by @markwallace-microsoft in #5197
- .Net: Bump Microsoft.OpenApi.Readers and Microsoft.OpenApi in /dotnet by @dependabot in #5429
- .Net: Bump YamlDotNet from 13.7.1 to 15.1.2 in /dotnet by @dependabot in #5298
- .Net: Bump JsonSchema.Net.Generation from 3.5.1 to 4.1.1 in /dotnet by @dependabot in #5302
- .Net: Bump Grpc.Net.Client from 2.60.0 to 2.61.0 in /dotnet by @dependabot in #5428
- .Net: Bump Microsoft.Extensions.Http.Resilience from 8.1.0 to 8.2.0 in /dotnet by @dependabot in #5426
- .Net: Update to version 1.6.0 by @markwallace-microsoft in #5450
- .Net: Version 1.6.1 by @markwallace-microsoft in #5458
New Contributors
- @shreyas-pandey made their first contribution in #5294
- @nkelly75 made their first contribution in #5266
- @Ryan-Britton made their first contribution in #5110
- @ytoml made their first contribution in #5090
- @sunyiming made their first contribution in #5439
Full Changelog: dotnet-1.5.0...dotnet-1.6.1
python-0.9.1b1
Notable Changes
- We've introduced auto tool calling for AzureOpenAI/OpenAI models. You can view the configuration and play around with this in the following kernel example. Note that auto tool calling is disabled by default, and it requires the following PromptExecutionSettings:
auto_invoke_kernel_functions=True
andmax_auto_invoke_attempts=<max_attempts_int>
. - We've made various small fixes and updates to address bugs/issues after the beta release.
- We've added unit test code coverage badges to the PRs. This now shows you the coverage percentage of the Python code base, and which files and lines are missing test coverage.
What's Changed
- Python: Fix broken link by @markwallace-microsoft in #5308
- Python: updated telemetry key names by @eavanvalkenburg in #5287
- Python: Support Auto tool calling for OpenAI models by @moonbox3 in #5267
- Python: Remove the service_id arg from the import plugin from prompt directory. Fix other notebooks. Formatting fixes. by @moonbox3 in #5328
- Python: remove weird line from coveragerc by @eavanvalkenburg in #5333
- Python: Add function name and plugin name to invoke prompt. Add unit tests. by @moonbox3 in #5318
- Python: Fix create func from prompt missing args by @moonbox3 in #5339
- Python: Fix action planner by @eavanvalkenburg in #5312
- Python: Improve web search by @eavanvalkenburg in #5317
- Python: combined stream and non-stream HF tests by @eavanvalkenburg in #5336
- Python: Update kernel tests by @eavanvalkenburg in #5341
- Python: update test coverage workflow by @eavanvalkenburg in #5357
- Python: add needs between unit tests and coverage by @eavanvalkenburg in #5358
- Python: updated unit tests and coverage by @eavanvalkenburg in #5359
- Python: change wait check to head_ref by @eavanvalkenburg in #5360
- Python: using sha by @eavanvalkenburg in #5361
- Python: updated ref by @eavanvalkenburg in #5362
- Python: change to regex by @eavanvalkenburg in #5363
- Python: use other download by @eavanvalkenburg in #5364
- Python: token param different by @eavanvalkenburg in #5365
- Python: use artifact search by @eavanvalkenburg in #5366
- Python: updated workflow name by @eavanvalkenburg in #5367
- Python: add py version to message by @eavanvalkenburg in #5368
- Python: fix: qdrant upsert on same id by @ytoml in #5090
- Python: improved chat history parsing from xml by @eavanvalkenburg in #5315
- Python: Bump py version to 0.9.1b1 for release. by @moonbox3 in #5378
- Python: Properly handle exceptions in the kernel using the exception metadata by @moonbox3 in #5391
- Python: fix for streaming openai responses, and first parts of fixes for Chat With Your Data by @eavanvalkenburg in #5387
New Contributors
Full Changelog: python-0.9.0.beta1...python-0.9.1b1
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.