diff --git a/.gitignore b/.gitignore index 431046016861..530b14105f74 100644 --- a/.gitignore +++ b/.gitignore @@ -476,4 +476,5 @@ playwright-report/ # Static Web App deployment config swa-cli.config.json -**/copilot-chat-app/webapp/build \ No newline at end of file +**/copilot-chat-app/webapp/build +**/copilot-chat-app/webapp/node_modules \ No newline at end of file diff --git a/samples/notebooks/dotnet/00-getting-started.ipynb b/samples/notebooks/dotnet/00-getting-started.ipynb index 9dd2bd42024d..e7aafd66d1fe 100644 --- a/samples/notebooks/dotnet/00-getting-started.ipynb +++ b/samples/notebooks/dotnet/00-getting-started.ipynb @@ -61,7 +61,7 @@ "outputs": [], "source": [ "// Import Semantic Kernel\n", - "#r \"nuget: Microsoft.SemanticKernel, 0.15.230531.5-preview\"" + "#r \"nuget: Microsoft.SemanticKernel, 0.17.230626.1-preview\"" ] }, { diff --git a/samples/notebooks/dotnet/01-basic-loading-the-kernel.ipynb b/samples/notebooks/dotnet/01-basic-loading-the-kernel.ipynb index 3ec75aaf7f81..0fa6310aa649 100644 --- a/samples/notebooks/dotnet/01-basic-loading-the-kernel.ipynb +++ b/samples/notebooks/dotnet/01-basic-loading-the-kernel.ipynb @@ -32,7 +32,7 @@ }, "outputs": [], "source": [ - "#r \"nuget: Microsoft.SemanticKernel, 0.15.230531.5-preview\"" + "#r \"nuget: Microsoft.SemanticKernel, 0.17.230626.1-preview\"" ] }, { diff --git a/samples/notebooks/dotnet/02-running-prompts-from-file.ipynb b/samples/notebooks/dotnet/02-running-prompts-from-file.ipynb index 5517066f4cc6..a3d141291375 100644 --- a/samples/notebooks/dotnet/02-running-prompts-from-file.ipynb +++ b/samples/notebooks/dotnet/02-running-prompts-from-file.ipynb @@ -90,7 +90,7 @@ }, "outputs": [], "source": [ - "#r \"nuget: Microsoft.SemanticKernel, 0.15.230531.5-preview\"\n", + "#r \"nuget: Microsoft.SemanticKernel, 0.17.230626.1-preview\"\n", "\n", "#!import config/Settings.cs\n", "\n", diff --git a/samples/notebooks/dotnet/03-semantic-function-inline.ipynb b/samples/notebooks/dotnet/03-semantic-function-inline.ipynb index 07f856b685db..b3e949fdc3dd 100644 --- a/samples/notebooks/dotnet/03-semantic-function-inline.ipynb +++ b/samples/notebooks/dotnet/03-semantic-function-inline.ipynb @@ -1,6 +1,7 @@ { "cells": [ { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -30,6 +31,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -49,7 +51,7 @@ }, "outputs": [], "source": [ - "#r \"nuget: Microsoft.SemanticKernel, 0.15.230531.5-preview\"\n", + "#r \"nuget: Microsoft.SemanticKernel, 0.17.230626.1-preview\"\n", "\n", "#!import config/Settings.cs\n", "\n", @@ -69,6 +71,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -96,6 +99,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -127,6 +131,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -155,6 +160,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -180,6 +186,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -213,6 +220,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -273,6 +281,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ diff --git a/samples/notebooks/dotnet/04-context-variables-chat.ipynb b/samples/notebooks/dotnet/04-context-variables-chat.ipynb index ca4120ad5c80..32a61bb71a2c 100644 --- a/samples/notebooks/dotnet/04-context-variables-chat.ipynb +++ b/samples/notebooks/dotnet/04-context-variables-chat.ipynb @@ -34,8 +34,7 @@ }, "outputs": [], "source": [ - "#r \"nuget: Microsoft.SemanticKernel, 0.15.230531.5-preview\"\n", - "\n", + "#r \"nuget: Microsoft.SemanticKernel, 0.17.230626.1-preview\"\n", "#!import config/Settings.cs\n", "\n", "using Microsoft.SemanticKernel;\n", diff --git a/samples/notebooks/dotnet/05-using-the-planner.ipynb b/samples/notebooks/dotnet/05-using-the-planner.ipynb index 5461a35faf74..183df27e4d59 100644 --- a/samples/notebooks/dotnet/05-using-the-planner.ipynb +++ b/samples/notebooks/dotnet/05-using-the-planner.ipynb @@ -25,13 +25,13 @@ }, "outputs": [], "source": [ - "#r \"nuget: Microsoft.SemanticKernel, 0.15.230531.5-preview\"\n", + "#r \"nuget: Microsoft.SemanticKernel, 0.17.230626.1-preview\"\n", "\n", "#!import config/Settings.cs\n", "#!import config/Utils.cs\n", "\n", "using Microsoft.SemanticKernel;\n", - "using Microsoft.SemanticKernel.CoreSkills;\n", + "using Microsoft.SemanticKernel.Skills.Core;\n", "using Microsoft.SemanticKernel.Orchestration;\n", "using Microsoft.SemanticKernel.Planning;\n", "using Microsoft.SemanticKernel.Planning.Sequential;\n", @@ -123,7 +123,7 @@ }, "outputs": [], "source": [ - "var ask = \"Tomorrow is Valentine's day. I need to come up with a few date ideas and e-mail them to my significant other.\";\n", + "var ask = \"Tomorrow is Valentine's day. I need to come up with a few date ideas. My significant other likes poems so write them in the form of a poem.\";\n", "var originalPlan = await planner.CreatePlanAsync(ask);\n", "\n", "Console.WriteLine(\"Original plan:\\n\");\n", @@ -194,7 +194,7 @@ "outputs": [], "source": [ "var ask = @\"Tomorrow is Valentine's day. I need to come up with a few date ideas.\n", - "She likes Shakespeare so write using his style. E-mail these ideas to my significant other\";\n", + "She likes Shakespeare so write using his style. Write them in the form of a poem.\";\n", "\n", "var newPlan = await planner.CreatePlanAsync(ask);\n", "\n", diff --git a/samples/notebooks/dotnet/06-memory-and-embeddings.ipynb b/samples/notebooks/dotnet/06-memory-and-embeddings.ipynb index 0f06ceba9b70..e123e9010010 100644 --- a/samples/notebooks/dotnet/06-memory-and-embeddings.ipynb +++ b/samples/notebooks/dotnet/06-memory-and-embeddings.ipynb @@ -33,7 +33,8 @@ }, "outputs": [], "source": [ - "#r \"nuget: Microsoft.SemanticKernel, 0.15.230531.5-preview\"\n", + "#r \"nuget: Microsoft.SemanticKernel, 0.17.230626.1-preview\"\n", + "#r \"nuget: System.Linq.Async, 6.0.1\"\n", "\n", "#!import config/Settings.cs\n", "\n", diff --git a/samples/notebooks/dotnet/07-DALL-E-2.ipynb b/samples/notebooks/dotnet/07-DALL-E-2.ipynb index c645706de47b..9254acaf6260 100644 --- a/samples/notebooks/dotnet/07-DALL-E-2.ipynb +++ b/samples/notebooks/dotnet/07-DALL-E-2.ipynb @@ -33,7 +33,7 @@ "source": [ "// Usual setup: importing Semantic Kernel SDK and SkiaSharp, used to display images inline.\n", "\n", - "#r \"nuget: Microsoft.SemanticKernel, 0.15.230531.5-preview\"\n", + "#r \"nuget: Microsoft.SemanticKernel, 0.17.230626.1-preview\"\n", "#r \"nuget: SkiaSharp, 2.88.3\"\n", "\n", "#!import config/Settings.cs\n", diff --git a/samples/notebooks/dotnet/08-chatGPT-with-DALL-E-2.ipynb b/samples/notebooks/dotnet/08-chatGPT-with-DALL-E-2.ipynb index 7f30f82cd0b6..85d875738009 100644 --- a/samples/notebooks/dotnet/08-chatGPT-with-DALL-E-2.ipynb +++ b/samples/notebooks/dotnet/08-chatGPT-with-DALL-E-2.ipynb @@ -28,6 +28,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -55,7 +56,7 @@ "source": [ "// Usual setup: importing Semantic Kernel SDK and SkiaSharp, used to display images inline.\n", "\n", - "#r \"nuget: Microsoft.SemanticKernel, 0.15.230531.5-preview\"\n", + "#r \"nuget: Microsoft.SemanticKernel, 0.17.230626.1-preview\"\n", "#r \"nuget: SkiaSharp, 2.88.3\"\n", "\n", "#!import config/Settings.cs\n", diff --git a/samples/notebooks/dotnet/10-BingSearch-using-kernel.ipynb b/samples/notebooks/dotnet/10-BingSearch-using-kernel.ipynb new file mode 100644 index 000000000000..1d9108a51edf --- /dev/null +++ b/samples/notebooks/dotnet/10-BingSearch-using-kernel.ipynb @@ -0,0 +1,245 @@ +{ + "cells": [ + { + "attachments": {}, + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# BingSearch using Kernel \n", + "\n", + "This notebook explains how to integrate Bing Search with the Semantic Kernel to get the latest information from the internet.\n", + "\n", + "To use Bing Search you simply need a Bing Search API key. You can get the API key by creating a [Bing Search resource](https://learn.microsoft.com/en-us/bing/search-apis/bing-web-search/create-bing-search-service-resource) in Azure. \n", + "\n", + "To learn more read the following [documentation](https://learn.microsoft.com/en-us/bing/search-apis/bing-web-search/overview)\n" + ] + }, + { + "attachments": {}, + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Prepare a Semantic Kernel instance first, loading also the AI backend settings defined in the [Setup notebook](0-AI-settings.ipynb):" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "#r \"nuget: Microsoft.SemanticKernel, 0.17.230626.1-preview\"\n", + "#r \"nuget: Microsoft.SemanticKernel.Skills.Web, 0.17.230626.1-preview\"\n", + "\n", + "#!import config/Settings.cs\n", + "#!import config/Utils.cs\n", + "\n", + "using Microsoft.SemanticKernel;\n", + "using Microsoft.SemanticKernel.Skills.Core;\n", + "using Microsoft.SemanticKernel.SkillDefinition;\n", + "using Microsoft.SemanticKernel.Orchestration;\n", + "using Microsoft.SemanticKernel.Planning;\n", + "using Microsoft.SemanticKernel.Planning.Sequential;\n", + "using Microsoft.SemanticKernel.TemplateEngine;\n", + "using InteractiveKernel = Microsoft.DotNet.Interactive.Kernel;\n", + "var builder = new KernelBuilder();\n", + "\n", + "// Configure AI backend used by the kernel\n", + "var (useAzureOpenAI, model, azureEndpoint, apiKey, orgId) = Settings.LoadFromFile();\n", + "\n", + "if (useAzureOpenAI)\n", + " builder.WithAzureTextCompletionService(model, azureEndpoint, apiKey);\n", + "else\n", + " builder.WithOpenAITextCompletionService(model, apiKey, orgId);\n", + "\n", + "var kernel = builder.Build();" + ] + }, + { + "attachments": {}, + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Add the following namespaces to use the Bing Search connector." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "using Microsoft.SemanticKernel.Skills.Web;\n", + "using Microsoft.SemanticKernel.Skills.Web.Bing;" + ] + }, + { + "attachments": {}, + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Enter your Bing Search Key in BING_KEY using `InteractiveKernel` method as introduced in [`.NET Interactive`](https://github.com/dotnet/interactive/blob/main/docs/kernels-overview.md)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "using InteractiveKernel = Microsoft.DotNet.Interactive.Kernel;\n", + "\n", + "string BING_KEY = await InteractiveKernel.GetPasswordAsync(\"Please enter your Bing Search Key\");" + ] + }, + { + "attachments": {}, + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Below are some examples on how [`WebSearchEngineSkill`](../../../dotnet/src/Skills/Skills.Web/WebSearchEngineSkill.cs) can be used in SK. " + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "private static async Task Example1Async(IKernel kernel)\n", + "{\n", + " Console.WriteLine(\"Example 1\");\n", + "\n", + " // Run \n", + " var question = \"What is quantum tunnelling\";\n", + " var bingResult = await kernel.Func(\"bing\", \"search\").InvokeAsync(question);\n", + "\n", + " Console.WriteLine(question);\n", + " Console.WriteLine(\"----\");\n", + " Console.WriteLine(bingResult);\n", + " Console.WriteLine();\n", + "\n", + " /* OUTPUT:\n", + "\n", + " What is quantum tunnelling\n", + " ----\n", + " In physics, quantum tunnelling, barrier penetration, or simply tunnelling is a quantum mechanical\n", + " phenomenon in which an object such as an electron or atom passes through a potential energy \n", + " barrier that, according to classical mechanics, the object does not have sufficient energy to\n", + " enter or surmount.\n", + " \n", + " */\n", + "}" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "private static async Task Example2Async(IKernel kernel)\n", + "{\n", + " Console.WriteLine(\"Example 2\");\n", + "\n", + " //The following function only works in interactive notebooks\n", + " string question = await InteractiveKernel.GetInputAsync(\"Please ask your question\"); \n", + "\n", + " var bingResult = await kernel.Func(\"bing\", \"search\").InvokeAsync(question);\n", + "\n", + " Console.WriteLine(bingResult);\n", + "}" + ] + }, + { + "attachments": {}, + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Just uncomment the examples to run them in the following code:" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "dotnet_interactive": { + "language": "csharp" + }, + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "// Load Bing skill\n", + "using (var bingConnector = new BingConnector(BING_KEY))\n", + "{\n", + " kernel.ImportSkill(new WebSearchEngineSkill(bingConnector), \"bing\");\n", + "\n", + " //await Example1Async(kernel);\n", + " //await Example2Async(kernel);\n", + "}" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": ".NET (C#)", + "language": "C#", + "name": ".net-csharp" + }, + "language_info": { + "name": "polyglot-notebook" + }, + "orig_nbformat": 4, + "polyglot_notebook": { + "kernelInfo": { + "defaultKernelName": "csharp", + "items": [ + { + "aliases": [], + "name": "csharp" + } + ] + } + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/samples/notebooks/python/00-getting-started.ipynb b/samples/notebooks/python/00-getting-started.ipynb index 6d1ac7e1ecf6..26b8a2e1d15f 100644 --- a/samples/notebooks/python/00-getting-started.ipynb +++ b/samples/notebooks/python/00-getting-started.ipynb @@ -1,6 +1,7 @@ { "cells": [ { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -15,7 +16,7 @@ "metadata": {}, "outputs": [], "source": [ - "!python -m pip install semantic-kernel==0.2.7.dev0" + "!python -m pip install semantic-kernel==0.3.1.dev0" ] }, { @@ -30,6 +31,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -59,6 +61,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -89,6 +92,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ diff --git a/samples/notebooks/python/01-basic-loading-the-kernel.ipynb b/samples/notebooks/python/01-basic-loading-the-kernel.ipynb index c8e542b4127f..9f8fc82cfb13 100644 --- a/samples/notebooks/python/01-basic-loading-the-kernel.ipynb +++ b/samples/notebooks/python/01-basic-loading-the-kernel.ipynb @@ -1,6 +1,7 @@ { "cells": [ { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -8,6 +9,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -23,7 +25,7 @@ "metadata": {}, "outputs": [], "source": [ - "!python -m pip install semantic-kernel==0.2.7.dev0" + "!python -m pip install semantic-kernel==0.3.1.dev0" ] }, { @@ -37,6 +39,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -65,6 +68,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -103,6 +107,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ @@ -125,6 +130,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ diff --git a/samples/notebooks/python/02-running-prompts-from-file.ipynb b/samples/notebooks/python/02-running-prompts-from-file.ipynb index 1b7a7ac18e78..04a4ec1c1d23 100644 --- a/samples/notebooks/python/02-running-prompts-from-file.ipynb +++ b/samples/notebooks/python/02-running-prompts-from-file.ipynb @@ -1,6 +1,7 @@ { "cells": [ { + "attachments": {}, "cell_type": "markdown", "id": "692e361b", "metadata": {}, @@ -18,6 +19,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "f3ce1efe", "metadata": {}, @@ -36,6 +38,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "afdb96d6", "metadata": {}, @@ -46,6 +49,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "c3bd5134", "metadata": {}, @@ -68,6 +72,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "384ff07f", "metadata": {}, @@ -84,7 +89,7 @@ "metadata": {}, "outputs": [], "source": [ - "!python -m pip install semantic-kernel==0.2.7.dev0" + "!python -m pip install semantic-kernel==0.3.1.dev0" ] }, { @@ -111,6 +116,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "fd5ff1f4", "metadata": {}, @@ -134,6 +140,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "edd99fa0", "metadata": {}, @@ -158,6 +165,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "2281a1fc", "metadata": {}, @@ -187,4 +195,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} \ No newline at end of file +} diff --git a/samples/notebooks/python/03-semantic-function-inline.ipynb b/samples/notebooks/python/03-semantic-function-inline.ipynb index f8cd881a27c7..c48b1d86a517 100644 --- a/samples/notebooks/python/03-semantic-function-inline.ipynb +++ b/samples/notebooks/python/03-semantic-function-inline.ipynb @@ -1,6 +1,7 @@ { "cells": [ { + "attachments": {}, "cell_type": "markdown", "id": "3c93ac5b", "metadata": {}, @@ -9,12 +10,14 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "ebcabb91", "metadata": {}, "source": [] }, { + "attachments": {}, "cell_type": "markdown", "id": "40201641", "metadata": {}, @@ -37,6 +40,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "d90b0c13", "metadata": {}, @@ -51,7 +55,7 @@ "metadata": {}, "outputs": [], "source": [ - "!python -m pip install semantic-kernel==0.2.7.dev0" + "!python -m pip install semantic-kernel==0.3.1.dev0" ] }, { @@ -78,6 +82,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "589733c5", "metadata": {}, @@ -102,6 +107,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "f26b90c4", "metadata": {}, @@ -130,6 +136,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "bf0f2330", "metadata": {}, @@ -151,6 +158,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "1c2c1262", "metadata": {}, @@ -159,6 +167,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "29b59b28", "metadata": {}, @@ -167,6 +176,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "4777f447", "metadata": {}, diff --git a/samples/notebooks/python/04-context-variables-chat.ipynb b/samples/notebooks/python/04-context-variables-chat.ipynb index 267551b278d4..de79d4b41a13 100644 --- a/samples/notebooks/python/04-context-variables-chat.ipynb +++ b/samples/notebooks/python/04-context-variables-chat.ipynb @@ -26,7 +26,7 @@ "metadata": {}, "outputs": [], "source": [ - "!python -m pip install semantic-kernel==0.2.7.dev0" + "!python -m pip install semantic-kernel==0.3.1.dev0" ] }, { diff --git a/samples/notebooks/python/05-using-the-planner.ipynb b/samples/notebooks/python/05-using-the-planner.ipynb index 1f379583363b..3827e69fed43 100644 --- a/samples/notebooks/python/05-using-the-planner.ipynb +++ b/samples/notebooks/python/05-using-the-planner.ipynb @@ -24,7 +24,7 @@ "metadata": {}, "outputs": [], "source": [ - "!python -m pip install semantic-kernel==0.2.7.dev0" + "!python -m pip install semantic-kernel==0.3.1.dev0" ] }, { diff --git a/samples/notebooks/python/06-memory-and-embeddings.ipynb b/samples/notebooks/python/06-memory-and-embeddings.ipynb index 65f1765948fa..6ea4e4416afe 100644 --- a/samples/notebooks/python/06-memory-and-embeddings.ipynb +++ b/samples/notebooks/python/06-memory-and-embeddings.ipynb @@ -1,6 +1,7 @@ { "cells": [ { + "attachments": {}, "cell_type": "markdown", "id": "68e1c158", "metadata": {}, @@ -27,7 +28,7 @@ "metadata": {}, "outputs": [], "source": [ - "!python -m pip install semantic-kernel==0.2.7.dev0" + "!python -m pip install semantic-kernel==0.3.1.dev0" ] }, { @@ -44,6 +45,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "d8ddffc1", "metadata": {}, @@ -81,6 +83,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "e7fefb6a", "metadata": {}, @@ -91,6 +94,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "2a7e7ca4", "metadata": {}, @@ -126,6 +130,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "2calf857", "metadata": {}, @@ -156,6 +161,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "e70c2b22", "metadata": {}, @@ -165,6 +171,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "1ed54a32", "metadata": {}, @@ -220,6 +227,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "1ac62457", "metadata": {}, @@ -228,6 +236,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "645b55a1", "metadata": {}, @@ -290,6 +299,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "0a51542b", "metadata": {}, @@ -326,6 +336,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "75f3ea5e", "metadata": {}, @@ -378,6 +389,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "59294dac", "metadata": {}, diff --git a/samples/notebooks/python/07-hugging-face-for-skills.ipynb b/samples/notebooks/python/07-hugging-face-for-skills.ipynb index da2201d8e067..91e7f7dbfe85 100644 --- a/samples/notebooks/python/07-hugging-face-for-skills.ipynb +++ b/samples/notebooks/python/07-hugging-face-for-skills.ipynb @@ -1,6 +1,7 @@ { "cells": [ { + "attachments": {}, "cell_type": "markdown", "id": "68e1c158", "metadata": {}, @@ -19,7 +20,7 @@ "metadata": {}, "outputs": [], "source": [ - "!python -m pip install semantic-kernel==0.2.7.dev0\n", + "!python -m pip install semantic-kernel==0.3.1.dev0\n", "\n", "# Note that additional dependencies are required for the Hugging Face connectors:\n", "!python -m pip install torch==2.0.0\n", @@ -39,6 +40,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "d8ddffc1", "metadata": {}, @@ -73,6 +75,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "2a7e7ca4", "metadata": {}, @@ -115,6 +118,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "2calf857", "metadata": {}, diff --git a/samples/notebooks/python/08-native-function-inline.ipynb b/samples/notebooks/python/08-native-function-inline.ipynb index a09ae177ac63..6772d11aefac 100644 --- a/samples/notebooks/python/08-native-function-inline.ipynb +++ b/samples/notebooks/python/08-native-function-inline.ipynb @@ -1,6 +1,7 @@ { "cells": [ { + "attachments": {}, "cell_type": "markdown", "id": "3c93ac5b", "metadata": {}, @@ -9,6 +10,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "40201641", "metadata": {}, @@ -29,6 +31,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "d90b0c13", "metadata": {}, @@ -43,7 +46,7 @@ "metadata": {}, "outputs": [], "source": [ - "!python -m pip install semantic-kernel==0.2.7.dev0" + "!python -m pip install semantic-kernel==0.3.1.dev0" ] }, { @@ -73,6 +76,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "186767f8", "metadata": {}, @@ -81,6 +85,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "589733c5", "metadata": {}, @@ -125,6 +130,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "f26b90c4", "metadata": {}, @@ -195,6 +201,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "8ef29d16", "metadata": {}, @@ -235,6 +242,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "091f45e4", "metadata": {}, @@ -294,6 +302,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "6ad068d6", "metadata": {}, @@ -328,6 +337,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "fdce1872", "metadata": {}, @@ -350,6 +360,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "c8778bad", "metadata": {}, @@ -394,6 +405,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "fb786c54", "metadata": {}, @@ -537,6 +549,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "42f0c472", "metadata": {},