github microsoft/semantic-kernel python-0.9.3b1

latest releases: dotnet-1.13.0-nightly-240601.1, dotnet-1.13.0-nightly-240531.2, dotnet-1.13.0-nightly-240529.6...
2 months ago

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.
    • An example script with a Handlebars template using AzureOpenAI is here.
    • An example script with a Jinja2 template using AzureOpenAI is here.

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

New Contributors

Full Changelog: python-0.9.2b1...python-0.9.3b1

Don't miss a new semantic-kernel release

NewReleases is sending notifications on new releases.