@@ -14,7 +14,7 @@ First, let's create a new project, targeting .NET 6 or newer, and add the
1414` Microsoft.SemanticKernel ` nuget package to your project from the command prompt
1515in Visual Studio:
1616
17- dotnet add package Microsoft.SemanticKernel --prerelease
17+ dotnet add package Microsoft.SemanticKernel
1818
1919# Running prompts with input parameters
2020
@@ -24,7 +24,7 @@ Copy and paste the following code into your project, with your Azure OpenAI key
2424using Microsoft .SemanticKernel ;
2525using Microsoft .SemanticKernel .Connectors .OpenAI ;
2626
27- var builder = new KernelBuilder ();
27+ var builder = Kernel . CreateBuilder ();
2828
2929builder .AddAzureOpenAIChatCompletion (
3030 " gpt-35-turbo" , // Azure OpenAI Deployment Name
@@ -54,9 +54,9 @@ string text2 = @"
54542. The acceleration of an object depends on the mass of the object and the amount of force applied.
55553. Whenever one object exerts a force on another object, the second object exerts an equal and opposite on the first." ;
5656
57- Console .WriteLine (await kernel .InvokeAsync (summarize , new KernelArguments ( text1 ) ));
57+ Console .WriteLine (await kernel .InvokeAsync (summarize , new () { [ " input " ] = text1 } ));
5858
59- Console .WriteLine (await kernel .InvokeAsync (summarize , new KernelArguments ( text2 ) ));
59+ Console .WriteLine (await kernel .InvokeAsync (summarize , new () { [ " input " ] = text2 } ));
6060
6161// Output:
6262// Energy conserved, entropy increases, zero entropy at 0K.
@@ -78,8 +78,8 @@ requirements and setup instructions.
78785 . [ Using Kernel Arguments to Build a Chat Experience] ( ./notebooks/04-kernel-arguments-chat.ipynb )
79796 . [ Creating and Executing Plans] ( ./notebooks/05-using-the-planner.ipynb )
80807 . [ Building Memory with Embeddings] ( ./notebooks/06-memory-and-embeddings.ipynb )
81- 8 . [ Creating images with DALL-E 2 ] ( ./notebooks/07-DALL-E-2 .ipynb )
82- 9 . [ Chatting with ChatGPT and Images] ( ./notebooks/08-chatGPT-with-DALL-E-2 .ipynb )
81+ 8 . [ Creating images with DALL-E 3 ] ( ./notebooks/07-DALL-E-3 .ipynb )
82+ 9 . [ Chatting with ChatGPT and Images] ( ./notebooks/08-chatGPT-with-DALL-E-3 .ipynb )
838310 . [ BingSearch using Kernel] ( ./notebooks/10-BingSearch-using-kernel.ipynb )
8484
8585# Nuget packages
@@ -102,13 +102,13 @@ Packages included in **Microsoft.SemanticKernel**:
102102 engineering, semantic memory and semantic functions definition and orchestration.
1031031 . ** Microsoft.SemanticKernel.Connectors.OpenAI** : connectors to OpenAI and Azure
104104 OpenAI, allowing to run semantic functions, chats, text to image with GPT3,
105- GPT3.5, GPT4, DALL-E2 .
105+ GPT3.5, GPT4, DALL-E3 .
106106
107107Other SK packages available at nuget.org:
108108
109- 1 . ** Microsoft.SemanticKernel.Connectors.Memory. Qdrant** : Qdrant connector for
109+ 1 . ** Microsoft.SemanticKernel.Connectors.Qdrant** : Qdrant connector for
110110 plugins and semantic memory.
111- 2 . ** Microsoft.SemanticKernel.Connectors.Memory. Sqlite** : SQLite connector for
111+ 2 . ** Microsoft.SemanticKernel.Connectors.Sqlite** : SQLite connector for
112112 plugins and semantic memory
1131133 . ** Microsoft.SemanticKernel.Plugins.Document** : Document Plugin: Word processing,
114114 OpenXML, etc.
@@ -117,4 +117,3 @@ Other SK packages available at nuget.org:
1171175 . ** Microsoft.SemanticKernel.Plugins.OpenApi** : OpenAPI Plugin.
1181186 . ** Microsoft.SemanticKernel.Plugins.Web** : Web Plugin: search the web, download
119119 files, etc.
120- 7 . ** Microsoft.SemanticKernel.Reliability.Polly** : Extension for http resiliency.
0 commit comments