Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,14 @@ Here is a quick example of how to use Semantic Kernel from a C# console app.

```csharp
using Microsoft.SemanticKernel;
using Microsoft.SemanticKernel.Configuration;
using Microsoft.SemanticKernel.KernelExtensions;

var kernel = Kernel.Builder.Build();

// For Azure Open AI service endpoint and keys please see
// https://learn.microsoft.com/azure/cognitive-services/openai/quickstart?pivots=rest-api
kernel.Config.AddAzureOpenAICompletionBackend(
kernel.Config.AddAzureOpenAITextCompletion(
"davinci-backend", // Alias used by the kernel
"text-davinci-003", // Azure OpenAI *Deployment ID*
"https://contoso.openai.azure.com/", // Azure OpenAI *Endpoint*
Expand Down
2 changes: 1 addition & 1 deletion samples/notebooks/dotnet/1-basic-loading-the-kernel.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"outputs": [],
"source": [
"#r \"nuget: Microsoft.SemanticKernel, *-*\""
"#r \"nuget: Microsoft.SemanticKernel, 0.9.61.1-preview\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion samples/notebooks/dotnet/2-running-prompts-from-file.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
}
],
"source": [
"#r \"nuget: Microsoft.SemanticKernel, *-*\"\n",
"#r \"nuget: Microsoft.SemanticKernel, 0.9.61.1-preview\"\n",
"#!import config/Settings.cs\n",
"\n",
"using Microsoft.SemanticKernel;\n",
Expand Down
2 changes: 1 addition & 1 deletion samples/notebooks/dotnet/3-semantic-function-inline.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
}
],
"source": [
"#r \"nuget: Microsoft.SemanticKernel, *-*\"\n",
"#r \"nuget: Microsoft.SemanticKernel, 0.9.61.1-preview\"\n",
"#!import config/Settings.cs\n",
"\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion samples/notebooks/dotnet/4-context-variables-chat.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
}
],
"source": [
"#r \"nuget: Microsoft.SemanticKernel, *-*\"\n",
"#r \"nuget: Microsoft.SemanticKernel, 0.9.61.1-preview\"\n",
"#!import config/Settings.cs\n",
"\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion samples/notebooks/dotnet/5-using-the-planner.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"outputs": [],
"source": [
"#r \"nuget: Microsoft.SemanticKernel, *-*\"\n",
"#r \"nuget: Microsoft.SemanticKernel, 0.9.61.1-preview\"\n",
"#!import config/Settings.cs\n",
"\n",
"using Microsoft.Extensions;\n",
Expand Down
2 changes: 1 addition & 1 deletion samples/notebooks/dotnet/6-memory-and-embeddings.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
}
],
"source": [
"#r \"nuget: Microsoft.SemanticKernel, *-*\"\n",
"#r \"nuget: Microsoft.SemanticKernel, 0.9.61.1-preview\"\n",
"#!import config/Settings.cs\n",
"\n",
"\n",
Expand Down