github microsoft/semantic-kernel python-0.9.8b1

latest releases: dotnet-1.29.0-nightly-241115.1, python-1.15.0, dotnet-1.29.0-nightly-241114.1...
6 months ago

Notable Changes

  • In our ongoing effort to achieve parity with dotnet, we have phased out the Basic, Action, and Stepwise planners. This update leaves the Sequential and Function Calling Stepwise planners as the available options.
  • We’ve made strides in aligning the Python tool call behavior with that of dotnet. You can now adjust the tool call behavior directly in the prompt execution settings, eliminating the need to specify tool_choice = "auto", tools = get_tool_call_object(...), and so on. For more details, refer to the FunctionCallBehavior implementation. There are several methods to adjust the tool call behavior, such as:
filter = {"excluded_plugins": ["ChatBot"]}
req_settings.function_call_behavior = FunctionCallBehavior.EnableFunctions(auto_invoke=True, filters=filter)

or

req_settings.function_call_behavior = FunctionCallBehavior.AutoInvokeKernelFunctions()

Our Auto Function Calling concept samples implement this new behavior.

What's Changed

  • Python: Bump werkzeug from 3.0.2 to 3.0.3 in /python by @dependabot in #6131
  • Python: Retire planners that are not supported in dotnet. by @moonbox3 in #6141
  • Python: Bump openai from 1.23.2 to 1.26.0 in /python by @dependabot in #6140
  • Python: Bump pytest from 8.1.1 to 8.2.0 in /python by @dependabot in #6050
  • Python: Bump tqdm from 4.66.2 to 4.66.3 in /python by @dependabot in #6120
  • Python: Bump jinja2 from 3.1.3 to 3.1.4 in /python by @dependabot in #6132
  • Python: update ToolCallBehavior and rename to FunctionCallBehavior to match dotnet and extended capabilities by @eavanvalkenburg in #5919
  • Python: Bump ruff from 0.4.1 to 0.4.3 in /python by @dependabot in #6138
  • Python: Check for other services registered before throwing service not found. by @moonbox3 in #6149
  • Python: Fixes to Python getting_started notebooks by @jordanbean-msft in #6147
  • Python: updating pinecone client by @LazaroHurtado in #6021
  • Python: Use a Jinja2 sandboxed env to prevent running unsafe code. by @moonbox3 in #6163
  • Python: Add ACA Python Sessions (Code Interpreter) Core Plugin, samples, and tests by @moonbox3 in #6158
  • Python: Bump Python version to 0.9.8b1 for a release. by @moonbox3 in #6178

New Contributors

Full Changelog: python-0.9.7b1...python-0.9.8b1

Don't miss a new semantic-kernel release

NewReleases is sending notifications on new releases.