Releases: microsoft/semantic-kernel
python-1.0.3
What's Changed
- Python: Log exception in planner. by @stefan521 in #6371
- Python: Refactoring. Use get_function and get_plugin. by @stefan521 in #6382
- Python: Remove assert on non-required api_key by @moonbox3 in #6384
- Python: Fix typos. by @stefan521 in #6381
- Python: Fix typo by @sinwoobang in #6409
- Python: Bump ruff from 0.4.4 to 0.4.5 in /python by @dependabot in #6417
- Python: new pre-commit actions and pre-commit as GHA by @eavanvalkenburg in #6376
- Python: updated samples by @eavanvalkenburg in #6411
- Python: Fix schema building for complex types by @moonbox3 in #6394
- Python: (Astra DB) Explicit projection when reading from Astra DB by @hemidactylus in #6246
- Python: Fix doc string for allow_dangerously_set_content by @moonbox3 in #6431
- Python: Bump Python version to 1.0.3 for a release. by @moonbox3 in #6432
New Contributors
- @stefan521 made their first contribution in #6371
- @sinwoobang made their first contribution in #6409
Full Changelog: python-1.0.2...python-1.0.3
python-1.0.2
This release contains various bug fixes and improvements.
What's Changed
- Python: Fix doc strings by @moonbox3 in #6378
- Python: Fix schema handling. Fix function result return for type list. by @moonbox3 in #6370
- Python: Bump Python version to 1.0.2 for a release by @moonbox3 in #6380
Full Changelog: python-1.0.1...python-1.0.2
python-1.0.1
This release contains bug fixes and improves the test coverage of the code base.
What's Changed
- Python: upgraded all files to 310 plus format and removed from future by @eavanvalkenburg in #6353
- Python: Try to fix a doc building issue. by @moonbox3 in #6354
- Python: Separate set and setitem strings by @moonbox3 in #6356
- Python: Fix FC stepwise planner. by @moonbox3 in #6357
- Python: update for kernel function decorator defaults by @eavanvalkenburg in #6351
- Python: updated pyproject and lock by @eavanvalkenburg in #6363
- Python: split kernel into kernel extensions for relevant pieces by @eavanvalkenburg in #6361
- Python: Improve test coverage by @eavanvalkenburg in #6366
- Python: Add cross language tests by @moonbox3 in #6318
- Python: Bump Python version to 1.0.1 for a release. by @moonbox3 in #6368
Full Changelog: python-1.0.0...python-1.0.1
python-1.0.0
The Python SDK is at 1.0.0
We are very happy to announce the release of Semantic Kernel Python SDK version 1.0.0! This milestone marks the culmination of extensive development and testing, and we are excited to bring this comprehensive AI orchestration framework to all developers and users.
Thank you for your support. We look forward to the journey ahead!
What's Changed
- Python: Adds a memory connector for Azure Cosmos DB for NoSQL by @aayush3011 in #6195
- Python: Add json schema handling. Add experimental tag to OpenAPI and Memory Connectors. by @moonbox3 in #6335
- Python: fix for fc stepwise by @eavanvalkenburg in #6337
- Python: Bump Python version to v1.0.0 by @moonbox3 in #6345
Full Changelog: python-1.0.0rc1...python-1.0.0
dotnet-1.13.0
Changes:
- b250109 .Net: Bump version to 1.13.0 (#6336)
- aa0ce10 .Net: Enable CreateFromType/Object to work with closed generics (#6218)
- 5e0b757 .Net: Added logprobs property to OpenAIPromptExecutionSettings (#6300)
- 3e19785 .Net: Adds a memory connector for Azure Cosmos DB for NoSQL (#6148)
- 915662c .Net: Fix PlatformNotSupportedException from HttpClientProvider (#6323)
- e17e05a .Net: Fix ArgumentNullException from TextPlugin.Uppercase/Lowercase on .NET Framework (#6324)
- 3db321b .Net: Fix CI pipeline for Windows runner (#6304)
See More
- 1d042be .Net: Include streaming tool call information in model diagnostics (#6305)
- 0c89e0b .Net: Fix MistralAI logging (#6315)
- 51af5ee .Net: Summarization and translation evaluation examples with Filters (#6262)
- dbe6aa2 .Net: Trace ChatHistory and PromptExecutionSettings in IChatCompletionServices (#6306)
- 729ea07 .Net: Some Mistral code cleanup from analyzers (#6308)
- 6bed723 .Net: Ignore PromptExecutionSettings.IsFrozen for JSON serialization (#6307)
- 1e6c49e .Net: Include request info in HttpOperationException (#6309)
- 75ee1a9 .Net: Implementation of store using Azure SQL/SQL Server with vector search. (#6142)
- 9b0dde5 .Net: Add MistralAI to the AppInsights sample (#6301)
python-1.0.0rc1
Notable Changes
We are excited to announce the release of Semantic Kernel version 1.0.0rc1! This release includes several new features and improvements to enhance the development experience.
Filters
We have introduced a powerful new feature: filters. These filters enable developers to hook into pre- and post-function hooks, providing greater control and flexibility over the function execution process.
- Pre-function Hooks: Allow you to define actions or checks that must be performed before a function executes.
- Post-function Hooks: Enable actions or processes that should occur after the function has executed.
With these filters, you can now easily add logging, validation, authentication, and other custom behaviors around your function calls, making your development process more efficient and modular. - You can find concept examples here.
What's Changed
- Python: implement filters by @eavanvalkenburg in #5681
- Python: Bump version to 1.0.0rc1. by @moonbox3 in #6321
Full Changelog: python-0.9.9b1...python-1.0.0rc1
python-0.9.9b1
Notable Changes
- New Interaction with Secrets and Keys via Pydantic Settings:
- We've introduced a new method to handle secrets, keys, and other configurations using Pydantic Settings.
- Pydantic Settings can now read environment variables or fall back to a provided .env file path.
- If you prefer to manage keys manually, you can still supply the key, deployment_name, endpoint, or api_version as optional parameters to the Text, Chat, or Embedding classes.
- Enhanced OpenAPI Plugin Usage:
- We've improved the usage of OpenAPI plugins by correctly forming the parameters specific to each OpenAPI operation.
- This enhancement ensures that the model will send the required operation parameters during automatic function calling.
What's Changed
- Python: new kernel function decorator by @eavanvalkenburg in #6216
- Python: allow openapi runner to use a custom client by @moonbox3 in #6226
- Python: Bump transformers from 4.40.1 to 4.40.2 in /python by @dependabot in #6239
- Python: add test to show using a lambda func by @eavanvalkenburg in #6215
- Python: handle failing tool call gracefully by @eavanvalkenburg in #6268
- Python: fix class type by @yanzhang100 in #6183
- Python: OpenAPI plugin enhance by @moonbox3 in #6279
- Python: Introduce Pydantic settings by @moonbox3 in #6193
- Python: Unsafe input handling by @eavanvalkenburg in #6003
- Python: added function_name and plugin_name properties to FC and FCR by @eavanvalkenburg in #6286
- Python: renamed complete to get_ by @eavanvalkenburg in #6288
- Python: improved plugins docstrings by @eavanvalkenburg in #6287
- Python: Create an experimental class and function decorator. by @moonbox3 in #6298
- Python: Bump python version to 0.9.9b1 for release. by @moonbox3 in #6299
New Contributors
- @yanzhang100 made their first contribution in #6183
Full Changelog: python-0.9.8b1...python-0.9.9b1
dotnet-1.12.0
Changes:
- fdf35d8 .Net: Bump version to 1.12.0 (#6302)
- aa98754 .Net: Add activities to MistralClient (#6297)
- a136cd4 .Net: fixed extension data in Model diagnostics (#6275)
- e5a29da .Net: Address some additional review feedback (#6289)
- 74efae1 .Net: Consolidate some code used in unit tests (#6292)
See More
- 41f072d .Net: Increase auto-invoke and in-flight tool calling hard-coded limits (#6272)
- b95f05c .Net: MistralAI Connector (#6263)
- c22f42a .Net: Updated notebooks (#6273)
- b99b77f .Net: [WIP] OTel model diagnostics: streaming APIs (#6242)
- 0bc8506 .Net: Rename to AllowDangerouslySetContent (#6257)
- cf91bc6 .Net: Fix KernelFunctionFromMethod.ToString (#6221)
- 4c130c6 .Net: Graduate some experimental features (#6245) [ #6211 ]
- 132693c .Net: Time Plugin Demo (#6200)
- af207dc .Net: Fix filters cloning when registered via Kernel properties (#6241)
- 34f201a .Net: Don't limit [KernelFunction] to public methods (#6206)
- 8a8cd95 .Net: Fix 5796 function calling enum params (#5998)
- f53c98e .Net: Update telemetry sample and documentation (#6191)
- c369ab3 .Net: Add multitargeting to .NET libraries (#4421)
- 822a644 .Net: Add model diagnostics to non-streaming APIs (#6150)
- f952e14 .Net: Example of prompt PII detection logic with Filters and Microsoft Presidio (#6171)
This list of changes was auto generated.
dotnet-1.11.1
Changes:
- 2d38fb9 .Net: Version 1.11.1 (#6186)
- d45d3bd .Net: Added dimensions property to OpenAI embedding service constructor (#6184)
- 89eb3c0 .Net: Azure CosmosDB MongoDB vCore Memory Store Bug Fixes (#6177)
- e389ada .Net: Update Concepts README for new Prompt samples (#6173) [ #6166 ]
- ec9fa14 .Net: Add Sessions (Code Interpreter) Core Plugin and Demo Project (#6160)
- 5249aed .Net: Improvements for Azure Cosmos DB for MongoDB connector (#6169)
This list of changes was auto generated.
python-0.9.8b1
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 theFunctionCallBehavior
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
- @jordanbean-msft made their first contribution in #6147
Full Changelog: python-0.9.7b1...python-0.9.8b1