github microsoft/semantic-kernel python-1.20.0

latest release: dotnet-1.35.0-nightly-250129.1
one day ago

Release Notes

New Features


Note: The OpenAIChatCompletion and AzureChatCompletion classes now support an instruction_role keyword argument. This is particularly useful when using reasoning models like o1. When set, any AuthorRole.SYSTEM messages are converted to AuthorRole.DEVELOPER before being sent to the model.

Example usage:

chat_service = OpenAIChatCompletion(service_id=service_id, instruction_role="developer")

Python Package Updates

Enhancements and Fixes

  • Improve handling for kernel plugin from file. #10286 by @moonbox3

  • Improve hashing of CMC and SCMC items. Add tests. #10332 by @moonbox3

  • Improve agent samples and chat history handling. #10301 by @eavanvalkenburg

  • Allow enums to be passed into on_function_result. Improve handling of FRC result so it can be hashed. #10316 by @moonbox3

Bug Fixes and Improvements

Full Changelog: python-1.19.0...python-1.20.0

Don't miss a new semantic-kernel release

NewReleases is sending notifications on new releases.