From 93df57e63598fd55518a020eaea8126340b0e710 Mon Sep 17 00:00:00 2001 From: Evan Mattson <35585003+moonbox3@users.noreply.github.com> Date: Tue, 23 Jul 2024 10:50:38 -0400 Subject: [PATCH] Python: Bump Python version to 1.3.0 from 1.2.0 for a release. (#7408) ### Motivation and Context Bump Python version to 1.3.0 from 1.2.0 for a release. ### Description Bump Python version to 1.3.0 from 1.2.0 for a release. ### Contribution Checklist - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone :smile: --- python/pyproject.toml | 2 +- python/samples/concepts/agents/README.md | 23 ++++++++++--------- .../getting_started/00-getting-started.ipynb | 2 +- .../01-basic-loading-the-kernel.ipynb | 2 +- .../02-running-prompts-from-file.ipynb | 2 +- .../03-prompt-function-inline.ipynb | 2 +- .../04-kernel-arguments-chat.ipynb | 2 +- .../05-using-the-planner.ipynb | 2 +- .../06-memory-and-embeddings.ipynb | 2 +- .../07-hugging-face-for-plugins.ipynb | 2 +- .../08-native-function-inline.ipynb | 2 +- .../09-groundedness-checking.ipynb | 2 +- .../10-multiple-results-per-prompt.ipynb | 2 +- .../11-streaming-completions.ipynb | 2 +- .../weaviate-persistent-memory.ipynb | 2 +- 15 files changed, 26 insertions(+), 25 deletions(-) diff --git a/python/pyproject.toml b/python/pyproject.toml index b406b3fc9226..fbd1eca326bd 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "semantic-kernel" -version = "1.2.0" +version = "1.3.0" description = "Semantic Kernel Python SDK" authors = ["Microsoft "] readme = "pip/README.md" diff --git a/python/samples/concepts/agents/README.md b/python/samples/concepts/agents/README.md index 46a69a539633..b723dd4f8642 100644 --- a/python/samples/concepts/agents/README.md +++ b/python/samples/concepts/agents/README.md @@ -1,30 +1,31 @@ # Semantic Kernel Agents - Getting Started -This project contains a step by step guide to get started with _Semantic Kernel Agents_ in Python. - +This project contains a step by step guide to get started with _Semantic Kernel Agents_ in Python. #### PyPI: -- For the use of agents, the minimum allowed Semantic Kernel pypi version is 1.3 # TODO Update + +- For the use of agents, the minimum allowed Semantic Kernel pypi version is 1.3.0. #### Source + - [Semantic Kernel Agent Framework](../../../semantic_kernel/agents/) ## Examples The getting started with agents examples include: -Example|Description ----|--- -[step1_agent](../agents/step1_agent.py)|How to create and use an agent. -[step2_plugins](../agents/step2_plugins.py)|How to associate plugins with an agent. +| Example | Description | +| ------------------------------------------- | --------------------------------------- | +| [step1_agent](../agents/step1_agent.py) | How to create and use an agent. | +| [step2_plugins](../agents/step2_plugins.py) | How to associate plugins with an agent. | ## Configuring the Kernel -Similar to the Semantic Kernel Python concept samples, it is necessary to configure the secrets -and keys used by the kernel. See the follow "Configuring the Kernel" [guide](../README.md#configuring-the-kernel) for +Similar to the Semantic Kernel Python concept samples, it is necessary to configure the secrets +and keys used by the kernel. See the follow "Configuring the Kernel" [guide](../README.md#configuring-the-kernel) for more information. ## Running Concept Samples -Concept samples can be run in an IDE or via the command line. After setting up the required api key -for your AI connector, the samples run without any extra command line arguments. \ No newline at end of file +Concept samples can be run in an IDE or via the command line. After setting up the required api key +for your AI connector, the samples run without any extra command line arguments. diff --git a/python/samples/getting_started/00-getting-started.ipynb b/python/samples/getting_started/00-getting-started.ipynb index dcb64ffde402..595e0fef6e6b 100644 --- a/python/samples/getting_started/00-getting-started.ipynb +++ b/python/samples/getting_started/00-getting-started.ipynb @@ -17,7 +17,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.2.0" + "%pip install semantic-kernel==1.3.0" ] }, { diff --git a/python/samples/getting_started/01-basic-loading-the-kernel.ipynb b/python/samples/getting_started/01-basic-loading-the-kernel.ipynb index 9591b386d510..ad672d181268 100644 --- a/python/samples/getting_started/01-basic-loading-the-kernel.ipynb +++ b/python/samples/getting_started/01-basic-loading-the-kernel.ipynb @@ -24,7 +24,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.2.0" + "%pip install semantic-kernel==1.3.0" ] }, { diff --git a/python/samples/getting_started/02-running-prompts-from-file.ipynb b/python/samples/getting_started/02-running-prompts-from-file.ipynb index c37757589088..dc6c90095c85 100644 --- a/python/samples/getting_started/02-running-prompts-from-file.ipynb +++ b/python/samples/getting_started/02-running-prompts-from-file.ipynb @@ -35,7 +35,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.2.0" + "%pip install semantic-kernel==1.3.0" ] }, { diff --git a/python/samples/getting_started/03-prompt-function-inline.ipynb b/python/samples/getting_started/03-prompt-function-inline.ipynb index 96fe85702122..fbed7a9d75a0 100644 --- a/python/samples/getting_started/03-prompt-function-inline.ipynb +++ b/python/samples/getting_started/03-prompt-function-inline.ipynb @@ -25,7 +25,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.2.0" + "%pip install semantic-kernel==1.3.0" ] }, { diff --git a/python/samples/getting_started/04-kernel-arguments-chat.ipynb b/python/samples/getting_started/04-kernel-arguments-chat.ipynb index fe89b5ab589a..ac87b4def822 100644 --- a/python/samples/getting_started/04-kernel-arguments-chat.ipynb +++ b/python/samples/getting_started/04-kernel-arguments-chat.ipynb @@ -27,7 +27,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.2.0" + "%pip install semantic-kernel==1.3.0" ] }, { diff --git a/python/samples/getting_started/05-using-the-planner.ipynb b/python/samples/getting_started/05-using-the-planner.ipynb index fedb66a850e9..d6a6caa3f407 100644 --- a/python/samples/getting_started/05-using-the-planner.ipynb +++ b/python/samples/getting_started/05-using-the-planner.ipynb @@ -32,7 +32,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.2.0" + "%pip install semantic-kernel==1.3.0" ] }, { diff --git a/python/samples/getting_started/06-memory-and-embeddings.ipynb b/python/samples/getting_started/06-memory-and-embeddings.ipynb index 6451a2b5c65a..ea736d178a0e 100644 --- a/python/samples/getting_started/06-memory-and-embeddings.ipynb +++ b/python/samples/getting_started/06-memory-and-embeddings.ipynb @@ -37,7 +37,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.2.0\n", + "%pip install semantic-kernel==1.3.0\n", "%pip install azure-core==1.30.1\n", "%pip install azure-search-documents==11.6.0b4" ] diff --git a/python/samples/getting_started/07-hugging-face-for-plugins.ipynb b/python/samples/getting_started/07-hugging-face-for-plugins.ipynb index 4e79855842b7..27248b795041 100644 --- a/python/samples/getting_started/07-hugging-face-for-plugins.ipynb +++ b/python/samples/getting_started/07-hugging-face-for-plugins.ipynb @@ -21,7 +21,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel[hugging_face]==1.2.0" + "%pip install semantic-kernel[hugging_face]==1.3.0" ] }, { diff --git a/python/samples/getting_started/08-native-function-inline.ipynb b/python/samples/getting_started/08-native-function-inline.ipynb index 4dc813b735b8..4bdfacce7cc6 100644 --- a/python/samples/getting_started/08-native-function-inline.ipynb +++ b/python/samples/getting_started/08-native-function-inline.ipynb @@ -55,7 +55,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.2.0" + "%pip install semantic-kernel==1.3.0" ] }, { diff --git a/python/samples/getting_started/09-groundedness-checking.ipynb b/python/samples/getting_started/09-groundedness-checking.ipynb index aeb44b803399..412f69a20bdd 100644 --- a/python/samples/getting_started/09-groundedness-checking.ipynb +++ b/python/samples/getting_started/09-groundedness-checking.ipynb @@ -36,7 +36,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.2.0" + "%pip install semantic-kernel==1.3.0" ] }, { diff --git a/python/samples/getting_started/10-multiple-results-per-prompt.ipynb b/python/samples/getting_started/10-multiple-results-per-prompt.ipynb index 9899bd16c152..3452af397183 100644 --- a/python/samples/getting_started/10-multiple-results-per-prompt.ipynb +++ b/python/samples/getting_started/10-multiple-results-per-prompt.ipynb @@ -34,7 +34,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.2.0" + "%pip install semantic-kernel==1.3.0" ] }, { diff --git a/python/samples/getting_started/11-streaming-completions.ipynb b/python/samples/getting_started/11-streaming-completions.ipynb index b654f2307ab9..f1d15491b88f 100644 --- a/python/samples/getting_started/11-streaming-completions.ipynb +++ b/python/samples/getting_started/11-streaming-completions.ipynb @@ -27,7 +27,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.2.0" + "%pip install semantic-kernel==1.3.0" ] }, { diff --git a/python/samples/getting_started/third_party/weaviate-persistent-memory.ipynb b/python/samples/getting_started/third_party/weaviate-persistent-memory.ipynb index 4244297fdf2c..d453f10c39b3 100644 --- a/python/samples/getting_started/third_party/weaviate-persistent-memory.ipynb +++ b/python/samples/getting_started/third_party/weaviate-persistent-memory.ipynb @@ -156,7 +156,7 @@ "metadata": {}, "outputs": [], "source": [ - "%pip install semantic-kernel[weaviate]==1.2.0" + "%pip install semantic-kernel[weaviate]==1.3.0" ] }, {