A sample for implementing retrieval augmented generation using Azure Open AI to generate embeddings, Azure Cosmos DB for MongoDB vCore to perform vector search, and semantic kernel.
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:
Python Version Support Update: Dropping Support for Python 3.8 and 3.9
Python 3.8 will reach its end-of-life in October 2024. As a result, we will no longer support Python 3.8 and 3.9.
Reasoning: Python 3.10 introduces a new typing system crucial for KernelFunctionFromMethod. Maintaining backward compatibility with older versions adds significant complexity and limits our ability to innovate. Thus, support for Python 3.9 will also be discontinued.
Enhanced Function Calling Support for ChatMessages. You may view this ADR for more information.
New Content Types:
FunctionCallContent
FunctionResultContent
Chat Role Changes:
ChatRole has been renamed to AuthorRole.
... (truncated)
Commits
7b4aba4 Python: Bump Python version to 0.9.8b1 for a release. (#6178)
e389ada .Net: Update Concepts README for new Prompt samples (#6173)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the python-requirements group with 1 update: semantic-kernel.
Updates
semantic-kernel
from 0.9.6b1 to 0.9.8b1Release notes
Sourced from semantic-kernel's releases.
... (truncated)
Commits
7b4aba4
Python: Bump Python version to 0.9.8b1 for a release. (#6178)e389ada
.Net: Update Concepts README for new Prompt samples (#6173)ec9fa14
.Net: Add Sessions (Code Interpreter) Core Plugin and Demo Project (#6160)5249aed
.Net: Improvements for Azure Cosmos DB for MongoDB connector (#6169)4c7fcb1
.Net: Version 1.11.0 (#6168)7e4faa3
Python: Add ACA Python Sessions (Code Interpreter) Core Plugin, samples, and ...2ae9dc7
.Net: Merge the Prompty feature branch to main (#6097)522bfd6
Python: Use a Jinja2 sandboxed env to prevent running unsafe code. (#6163)9e70e71
Python: updating pinecone client (#6021)431d18b
.Net: Add request uri and payload to RestApiOperationResponse (#6082)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show