Releases: microsoft/semantic-kernel
Releases · microsoft/semantic-kernel
python-1.2.0
What's Changed
New Features
- Azure Model-as-a-Service Python Connector: Added a new connector for Azure Model-as-a-Service to the Python SDK by @TaoChenOSU in #6742.
- FunctionChoiceBehavior Abstraction: Introduced FunctionChoiceBehavior, a new function calling abstraction that enables function calling for models beyond just OpenAI. This is not a breaking change, and FunctionCallBehavior still works, but users are urged to transition to the new abstraction by @moonbox3 in #6910.
- Azure AI Inference Function Calling: Added support for Azure AI Inference function calling by @TaoChenOSU in #7035.
- Mistral AI Chat Completion: Added support for Mistral AI Chat Completion by @nmoeller in #7049.
Python Package Updates
- grpcio-status: Updated from
1.60.0
to1.62.2
by @dependabot in #6938. - torch: Updated from
2.3.0
to2.3.1
by @dependabot in #6936. - qdrant-client: Updated from
1.9.1
to1.9.2
by @dependabot in #6937 and to1.10.0
in #7036. - transformers: Updated from
4.41.1
to4.41.2
by @dependabot in #6935. - pydantic: Updated from
2.7.3
to2.8.0
by @dependabot in #7040. - psycopg: Updated from
3.1.19
to3.2.1
by @dependabot in #7039. - chromadb: Updated from
0.5.0
to0.5.3
by @dependabot in #7038. - weaviate-client: Updated from
4.6.4
to4.6.5
by @dependabot in #7037.
Enhancements and Fixes
- DEV_SETUP.md: Updated documentation with dependencies for tests by @fhinkel in #6909.
- Local Function Calling Sample: Improved kernel and function result content with an example of local function calling using Nexus Raven by @eavanvalkenburg in #6982.
- Pyproject Restructuring: Restructured
pyproject.toml
and removed some dependencies by @eavanvalkenburg in #7005. - Removed Google Palm: Removed Google Palm dependency by @eavanvalkenburg in #7051.
- Coverage Configs: Added coverage configurations by @eavanvalkenburg in #7050.
Bug Fixes and Improvements
- Error Handling: Corrected error handling in
does_collection_exist
by @0xMihir in #6950. - Sessions Plugin: Updated sessions Python plugin to work with the correct endpoints by @moonbox3 in #7070.
- Model Compatibility Verification: Verified local models in Ollama and LM Studio compatibility with OpenAI connector by @TaoChenOSU in #6973.
- Mypy Configuration: Updated mypy configuration for better type checking and increased code quality by @eavanvalkenburg in #7139.
- Code Quality Improvements: Enabled mypy and improved code quality for various connectors and function behaviors by @moonbox3 in multiple PRs (#7153, #7163, #7154).
- Version Bump: Updated Python project version to
1.2.0
for release by @moonbox3 in #7177. - HuggingFace Connectors: Enabled mypy for HuggingFace connectors and increased unit test coverage by @moonbox3 in #7176.
New Contributors
- @fhinkel made their first contribution in #6909
- @0xMihir made their first contribution in #6950
- @nmoeller made their first contribution in #7049
Full Changelog: python-1.1.2...python-1.2.0
dotnet-1.15.1
Changes:
- e77ffdf .Net: Version 1.15.1 (#7089)
- 1b4d348 .Net: Gemini added support of system messages and removed messages order limitation (#7067)
- b071168 .Net: Fix milvus search metric type bug. (#7063) [ #7062 ]
- b85e7ae .Net Agents - Support streaming for ChatCompletionAgent (#6956)
- d16bd66 .Net: update Kernel.cs (#6999)
- e375b6f .Net: Bump Microsoft.Extensions.Http.Resilience from 8.2.0 to 8.6.0 in /dotnet (#7041)
- cd582d4 .Net: Bump DuckDB.NET.Data.Full from 1.0.0 to 1.0.1 in /dotnet (#7042) [ #198, #197 ]
- 2870323 .Net: Bump Azure.Monitor.OpenTelemetry.Exporter from 1.2.0 to 1.3.0 in /dotnet (#7043)
- 13de7c4 .Net: Bump Azure.AI.OpenAI.Assistants from 1.0.0-beta.3 to 1.0.0-beta.4 in /dotnet (#7045)
See More
- e840175 .Net: Added cancellation token to filter context types (#7033)
- a5f367d .Net Agents - Support single-agent / no-chat invocation of
OpenAIAssistantAgent
(#6946) - 07bcd90 .Net - Convert message
AuthorName
whitespace or empty string assignment tonull
(#6990) - 4f945a3 .Net: Batch delete query optimization in Sqlite (#6965)
- fd5f33c .Net: Dm/sqlserver/json (#6960)
- 6309f7b .Net: Bump Microsoft.Azure.Kusto.Data (#6945)
- 8f0a402 .Net Fix - Include role definition for each StreamingChatMessageContent (#6957)
- 0de9077 .Net: Added plugin selection example using vector search (#6929)
- b89722d .Net: Added example with telemetry in Filters (#6943)
- 76e9db4 .Net Agents - Direct logger association with Agent (#6933)
- 50fa21e .Net: Bump DuckDB.NET.Data from 1.0.0 to 1.0.1 in /dotnet (#6940) [ #198, #197 ]
- 9ac1152 .Net: Bump Microsoft.CodeAnalysis.NetAnalyzers from 9.0.0-preview.24165.2 to 9.0.0-preview.24225.1 in /dotnet (#6941)
- 4ebd11b .Net: Bump YamlDotNet from 15.1.4 to 15.3.0 in /dotnet (#6939) [ #910, #930, #808, #924 ]
- 94c23cc .Net: Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 in /dotnet (#6942)
- ad8c819 .Net Agents - Fix function result handling (#6927)
- 5d3cbed ADR: OpenAI + AzureOpenAI Connector (#6664) [ #6529 ]
- 616d6a9 .Net: Deprecate OpenAI plugins (#6907)
- f3269f7 .Net: Split redis and qdrant memory connector unit test projects from main unit test project. (#6923)
- 25bda64 .Net: Native functions with yaml file (#6650) [ #6644 ]
- 9078be5 .Net Fix - OpenAIFilePurpose definitions and handling for OpenAIFileService (#6858)
- f33d015 .Net: Added README to FunctionInvocationApproval demo app (#6901)
- ab56f13 .Net: Fix for HuggingFaceChatCompletionService incorrect modification of model id (#6895)
- e474fec ADR for Model-as-a-Service (#6693)
- a214e12 .Net: Adapted broken link to KernelFunctionStrategies (#6853)
This list of changes was auto generated.
python-1.1.2
What's Changed
New Features
- Python: custom service selector sample by @eavanvalkenburg in #6802
- Python: If no env_file is configured then default to relative .env file by @moonbox3 in #6754
- Python: ADR for Model-as-a-Service by @TaoChenOSU in #6693
Python Package Updates
- Python: Bump urllib3 from 2.2.1 to 2.2.2 in /python by @dependabot in #6799
- Python: Bump pydantic-settings from 2.3.0 to 2.3.3 in /python by @dependabot in #6793
- Python: Bump grpcio from 1.60.0 to 1.63.0 in /python by @dependabot in #6791
- Python: Bump openapi-core from 0.19.1 to 0.19.2 in /python by @dependabot in #6788
- Python: Bump pytest from 8.2.1 to 8.2.2 in /python by @dependabot in #6789
- Python: Bump pinecone-client from 4.1.0 to 4.1.1 in /python by @dependabot in #6786
Enhancements and Fixes
- Python: Update dev setup readme by @TaoChenOSU in #6797
- Python: Updates to user agent. Add unit tests. by @moonbox3 in #6824
Bug Fixes and Improvements
- Python: fix for Python: parameters mentioned in a SK prompt are not synced wi… by @eavanvalkenburg in #6807
- Python: Bump Python version to 1.1.2 for a release. by @moonbox3 in #6931
Full Changelog: python-1.1.1...python-1.1.2
dotnet-1.15.0
Changes:
- 881e1d1 .Net: Version 1.15.0 (#6566)
- 9d1fd22 .Net: Update Moq.Analyzers from 0.0.9 to 0.1.0 (#6547)
- 5db1d9f .Net: Provide mechanism to allow HttpRequestMessage for Open API calls to be modified using KernelFunctionMetadata (#6755) [ #6734 ]
- 54b936c .Net: Implementation for NopPromptTemplateFactory (#6630) [ #6575 ]
- c075832 .Net: Examples with FrugalGPT techniques for LLM cost and performance improvements (#6815)
See More
- 6095819 .Net: refactor : SummarizeConversation (#6719)
- 0781cba Update EUCLIDEAN_DISTANCE.md (#6625)
- 95e4c42 .Net: Align the behavior of the ChatMessageContent.Content property setter with streaming counterpart (#6753)
- 656e0eb Update README.md (#6574)
- 3e8a936 .Net: Fixing ConversationSummaryPlugin's ActionItems response by improving underlying prompt (#6722)
- 38f81cc .Net: Added example how to get list of function calls in auto function invocation filter (#6800)
- 4b8a526 .Net: Added support for multiple chat and text results from Kernel (#6704)
- 0ed3cca .Net: Update DuckDB.NET.Data and DuckDB.NET.Data.Full package versions to 1.0.0 (#6642)
- 0e6647d .Net: Bump Azure.Identity and Microsoft.Identity.Client.Extensions.Msal in /dotnet (#6796) [ #44499, zure/azure-sdk-for-net#44501, #44573, #44, #44592, #44590, #44591, #44586, #44583 ]
- d0d201d .Net: Bump Grpc.Net.Client from 2.62.0 to 2.63.0 in /dotnet (#6794) [ grpc/grpc-dotnet#2385, grpc/grpc-dotnet#2392, grpc/grpc-dotnet#2403, grpc/grpc-dotnet#2397, grpc/grpc-dotnet#2410, grpc/grpc-dotnet#2413, #2401, grpc/grpc-dotnet#2402, grpc/grpc-dotnet#2411, grpc/grpc-dotnet#2415, grpc/grpc-dotnet#2416, grpc/grpc-dotnet#2421, grpc/grpc-dotnet#2423, grpc/grpc-dotnet#2422, grpc/grpc-dotnet#2426, grpc/grpc-dotnet#2429, grpc/grpc-dotnet#2430, grpc/grpc-dotnet#2437, grpc/grpc-dotnet#2442, grpc/grpc-dotnet#2440, #2440, #2442, #2430, #2429, #2426, #2422, #2423, #2416, #2415 ]
- 82192cf .Net: Gemini Task -> ValueTask for BearerTokenProvider (#6708) [ #6679 ]
- b0c9fdf Breaking changes ADR (#6595) [ #6535 ]
- 73995e3 .Net: Fix for path parameters are not URL-encoded when calling an Open API function (#6686) [ #6672 ]
- 17a2e41 .Net - Agents: Support assistant tool content generation (#6627)
- bb1eb3a .Net: instead running two queries now a single query can do the same thing (#6705)
- 7812017 .Net: Replaced text-davinci-003 with gpt-3.5-turbo-instruct (#6710)
- 4dcf563 Bump azure-identity from 1.16.0 to 1.16.1 in /python (#6677) [ #35846 ]
- ae2f72b .Net: Support function call content classes for AI streaming API (#6449)
- 4adf3fe .Net: Support records with no key, fix issue with Relevance (#6393) [ #6379 ]
- ddf1d46 .Net: Add Support for 'dall-e-3' Model in OpenAIImageGeneration Class (#6623) [ #3435 ]
- 3c5e053 .Net: Avoid null ref in ModelDiagnostics.SetCompletionResponse (#6688)
- e6a4995 .Net: Bump Azure.Identity, Microsoft.Identity.Client and Microsoft.Identity.Client.Extensions.Msal in /dotnet (#6656) [ #43311, #4791, #4686, #4789, #4784, #4800, #4794, #4795, #4792, #4785 ]
- 0fd15e8 .Net: Bump Microsoft.ML.OnnxRuntime from 1.17.1 to 1.18.0 in /dotnet (#6655) [ #20677, #20671, #20620, #20585, #20500, #20470, #20456, #20385, #20459, #20393 ]
- b8c277e .Net: Handle empty response with no content type in RestApiOperationRunner (#6632) [ #6427 ]
- 49374d9 Add issue template for feature graduation issues (#6594)
- af875b6 .Net: Fix for RestApiOperation.BuildQueryString (#6662)
- dd7236e .Net Add version to CodeInterpreter API Calls (#6666) [ #6510 ]
- 01e826d .Net: Cross-language tests (#6196)
- 5b7dda5 .Net: Minor clean-up of sample (#6637) [ #6634 ]
- 737385c .Net Kernel Contents Graduation (#6319) [ #5625, #5295 ]
- f1f53f4 .Net: Restructure function calling samples (#6620)
- 3f1cf2a .Net: Baseline 1.14.1 (#6561)
- bebe127 .Net: Update TELEMETRY.md to include the latest recommended pattern for ILoggerFactory (#6587)
- 546ec65 .Net: Marked Agents projects as Packable. Fixed Publish configuration. (#6568)
- b8ce266 .Net: Add missing code samples reference to dotnet Readme (#6408)
python-1.1.1
Release Notes: Improved SDK Jupyter Notebook Getting Started Experience
We are happy to announce a refresh of our SDK Jupyter notebooks to enhance the getting started experience for our users. Below are the key updates and improvements:
Clearer Directions and Configuration
Enhanced Instructions
- Getting Started: We have revamped the directions for getting started with our notebooks, providing clearer, step-by-step guidance.
- Kernel Configuration: Each notebook now includes detailed instructions on configuring the kernel, ensuring users know which settings need to be configured based on the model they are using.
.env
File Requirement
- Environment Configuration: A
.env
file is now required for the notebooks and must be placed in the same directory as the getting started notebooks to ensure all necessary environment variables are set correctly.
These enhancements aim to provide a smoother onboarding experience, helping users get up and running with our SDK more efficiently.
We hope these updates improve your experience with our SDK Jupyter notebooks. Thank you for your continued support!
What's Changed
- Bump azure-identity from 1.16.0 to 1.16.1 in /python by @dependabot in #6677
- Python: Bump chromadb from 0.4.24 to 0.5.0 in /python by @dependabot in #6659
- Python: Bump tornado from 6.4 to 6.4.1 in /python by @dependabot in #6591
- Python: Bump pymilvus from 2.3.7 to 2.4.3 in /python by @dependabot in #6516
- Python: fix: Preserve class type in
experimental_class
decorator to avoid type inference issues by @miladh in #6709 - Python: Env sample by @eavanvalkenburg in #6711
- Python: Update notebooks to run with dotenv settings. by @moonbox3 in #6713
- Python: Bump Python version to 1.1.1 for a release. by @moonbox3 in #6716
New Contributors
Full Changelog: python-1.1.0...python-1.1.1
python-1.1.0
What's Changed
New Features
- Support for Image Content and Chat Messages with Image Content:
- Added functionality to handle image content in chat messages. #6520 by @eavanvalkenburg.
Python Package Updates
- Bump openai from 1.30.2 to 1.31.0:
- Updated the OpenAI library to the latest version, providing new features and improvements. [#6517] (#6517) by @dependabot.
- Bump authlib from 1.3.0 to 1.3.1:
- Minor update to the Authlib library, ensuring compatibility and bug fixes. #6646 by @dependabot.
- Bump azure-core from 1.30.1 to 1.30.2:
- Incremental update to Azure Core library for better performance and stability. #6657 by @dependabot.
Enhancements and Fixes
- Update Python Getting-Started Notebooks:
- Revised and improved the getting-started notebooks for a better onboarding experience. #6573 by @TaoChenOSU.
- Fix Broken Concept Samples:
- Run Samples as Integration Tests:
- Fix Lint Issues:
- Addressed linting errors to ensure code quality and maintainability. #6683 by @eavanvalkenburg.
Bug Fixes and Improvements
- Azure AI Search API Key Optional:
- Fix Sample Plugin Path for Windows and Re-enable Samples CI Tests:
Full Changelog: python-1.0.5...python-1.1.0
python-1.0.5
What's Changed
- Python: Updates to fix changes made to ACA Sessions Plugin by @moonbox3 in #6507
- Python: Refactoring and fix bug. AuthorRole instead of string literals. by @stefan521 in #6391
- Python: Bump pydantic-settings from 2.2.1 to 2.3.0 in /python by @dependabot in #6514
- Python: Bump weaviate-client from 4.6.3 to 4.6.4 in /python by @dependabot in #6513
- Python: Bump pydantic from 2.7.1 to 2.7.3 in /python by @dependabot in #6515
- Python: Adjust the learn file imports based on a previous refactor. by @moonbox3 in #6545
- Python: Handle streaming tool call attempts. Fix func calling concept example. by @moonbox3 in #6560
- Python: import fix for azure ai search settings in chat by @eavanvalkenburg in #6562
- Python: Bump Python version to 1.0.5 for a release. by @moonbox3 in #6564
Full Changelog: python-1.0.4...python-1.0.5
dotnet-1.14.1
dotnet-1.14.0
Changes:
- 9af6cd6 .Net: Fix: telemetry sample app repeated calls to the same registered function (#6544)
- f42dfb1 .Net: Version 1.14.0 (#6543)
- 3ec13eb .Net: Bump System.Diagnostics.DiagnosticSource from 8.0.0 to 8.0.1 in /dotnet (#6508) [ #95439, #95148, #95082, #94882, #95119 ]
- 060699c .Net: Added AzureChatExtensionsOptions property and deprecated WithData classes (#6454)
- 8d9c3cb .Net: Fixed ImageContent usage in OpenAI connector (#6450)
See More
- 5195f03 .Net: Include request metadata in KernelException if response cannot be serialized (#6407)
- d6b6200 .Net: Bump Azure.AI.OpenAI from 1.0.0-beta.15 to 1.0.0-beta.17 in /dotnet (#6236)
- d471425 .Net: Add API to create a PromptTemplateConfig from a Prompty template (#6414)
- cd93ea9 .Net: Update obsolete links (#6403)
- 02145d9 .Net: Return result of the function executed before termination for streaming API (#6428)
- 237a4de .Net: Bump SharpToken from 1.2.17 to 2.0.3 in /dotnet (#6420) [ #43, #37, #35, #34 ]
- 6bd02cc .Net: Bump Microsoft.ML.Tokenizers from 0.22.0-preview.24179.1 to 0.22.0-preview.24271.1 in /dotnet (#6421)
- 5544056 .Net: Bump xunit.analyzers from 1.11.0 to 1.14.0 in /dotnet (#6422) [ xunit/xunit#2932 ]
- a9f33a2 .Net: Bump Microsoft.Extensions.TimeProvider.Testing from 8.4.0 to 8.5.0 in /dotnet (#6423)
- ea67743 .Net: Holiday plugin sample (#6331)
- 8de6c5f .Net: Bump YamlDotNet from 15.1.2 to 15.1.4 in /dotnet (#6232) [ #903, #904, #656 ]
- 64b5a76 .Net: Bump Handlebars.Net from 2.1.5 to 2.1.6 in /dotnet (#6230) [ #579, #578, #573, #415, #407 ]
- c66ba75 .Net: Bump Microsoft.Identity.Client.Extensions.Msal and Microsoft.Identity.Client in /dotnet (#6231)
- 01c94b1 .Net: Bump Microsoft.VisualStudio.Threading.Analyzers from 17.9.28 to 17.10.48 in /dotnet (#6234)
- 56dd370 .Net: Bump Markdig from 0.36.2 to 0.37.0 in /dotnet (#6235) [ #785, #782, #784, #786 ]
- 44d20c0 .Net: Update LiquidPromptTemplate to use Fluid instead of Scriban (#6320)
- 06a3ce0 .Net: Fixed warning in release pipeline about Docker base image in examples (#6340)
python-1.0.4
What's Changed
- Python: Run notebooks as tests by @eavanvalkenburg in #6430
- Python: fix: Remove wrong
response_format
override inAzureChatPromptExecutionSettings
class by @danigian in #6424 - Python: fix for add_function with conflicts by @eavanvalkenburg in #6437
- Python: Pydantic settings config by @eavanvalkenburg in #6392
- Python: Bump pyarrow from 15.0.2 to 16.1.0 in /python by @dependabot in #6290
- Python: further improvements to checks and docs in dev_setup by @eavanvalkenburg in #6445
- Python: added hugging face unit test by @eavanvalkenburg in #6467
- Python: properly handle types while building the schema by @moonbox3 in #6469
- Python: mypy coverage enhancement by @eavanvalkenburg in #6250
- Python: Bump regex from 2023.12.25 to 2024.5.15 in /python by @dependabot in #6291
- Python: Fix function calling concept example. by @moonbox3 in #6477
- Python: Support Bing Custom Search by @bochris in #6278
- Python: Fix learn resource planner sample by @moonbox3 in #6478
- Python: add samples workflow by @eavanvalkenburg in #6484
- Python: updates to cicd and notebooks by @eavanvalkenburg in #6485
- Python: added tests for core_plugins by @eavanvalkenburg in #6470
- Python: Improve DEV_SETUP.md Poetry install instructions for MacOS users. by @moonbox3 in #6487
- Python: implement async support for templates by @eavanvalkenburg in #6486
- Python: Bump Python version to 1.0.4 for a release. by @moonbox3 in #6488
- Python: Fix Bing Connector Setting Usage by @bochris in #6493
New Contributors
Full Changelog: python-1.0.3...python-1.0.4