Skip to content

Releases: microsoft/semantic-kernel

python-1.2.0

09 Jul 19:00
469092f
Compare
Choose a tag to compare

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

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

Full Changelog: python-1.1.2...python-1.2.0

dotnet-1.15.1

03 Jul 17:58
e77ffdf
Compare
Choose a tag to compare

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 to null (#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

24 Jun 19:26
8fc645d
Compare
Choose a tag to compare

What's Changed

New Features

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

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

19 Jun 18:58
881e1d1
Compare
Choose a tag to compare

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

python-1.1.1

15 Jun 00:49
65b7fd6
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: python-1.1.0...python-1.1.1

python-1.1.0

13 Jun 17:01
890eab1
Compare
Choose a tag to compare

What's Changed

New Features

  • Support for Image Content and Chat Messages with Image Content:

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:
    • Resolved issues with concept samples and ensured they run as tests for validation. #6660 by @moonbox3.
  • Run Samples as Integration Tests:
    • Enhanced the testing framework by running samples as integration tests, improving coverage and reliability. #6670 by @moonbox3.
  • Fix Lint Issues:

Bug Fixes and Improvements

  • Azure AI Search API Key Optional:
    • Made the Azure AI Search API key optional, simplifying the setup process for developers. #6698 by @moonbox3.
  • Fix Sample Plugin Path for Windows and Re-enable Samples CI Tests:
    • Corrected the sample plugin paths for Windows environments and re-enabled CI tests for samples to ensure consistency across platforms. #6691 by @moonbox3.

Full Changelog: python-1.0.5...python-1.1.0

python-1.0.5

05 Jun 17:16
693758a
Compare
Choose a tag to compare

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

05 Jun 21:00
6be43bc
Compare
Choose a tag to compare

Changes:

dotnet-1.14.0

04 Jun 19:37
9af6cd6
Compare
Choose a tag to compare

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

03 Jun 18:51
e9b1407
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: python-1.0.3...python-1.0.4