diff --git a/samples/notebooks/dotnet/Getting-Started-Notebook.ipynb b/samples/notebooks/dotnet/Getting-Started-Notebook.ipynb index 6707f9842d07..7f91998d739c 100644 --- a/samples/notebooks/dotnet/Getting-Started-Notebook.ipynb +++ b/samples/notebooks/dotnet/Getting-Started-Notebook.ipynb @@ -37,7 +37,7 @@ "outputs": [], "source": [ "// Import Semantic Kernel\n", - "#r \"nuget: Microsoft.SemanticKernel, *-*\"" + "#r \"nuget: Microsoft.SemanticKernel, 0.9.61.1-preview\"" ] }, { @@ -118,6 +118,7 @@ "source": [ "// Setup SemanticFunctions and the Kernel\n", "using Microsoft.SemanticKernel;\n", + "using Microsoft.SemanticKernel.Configuration;\n", "using Microsoft.SemanticKernel.SemanticFunctions;\n", "using Microsoft.SemanticKernel.KernelExtensions;\n", "using System.IO;\n", @@ -145,9 +146,9 @@ "// Configure AI backend used by the kernel\n", "var (useAzureOpenAI,model, azureEndpoint, apiKey, orgId) = Settings.LoadFromFile();\n", "if (useAzureOpenAI)\n", - " kernel.Config.AddAzureOpenAICompletionBackend(\"davinci\", model, azureEndpoint, apiKey);\n", + " kernel.Config.AddAzureOpenAITextCompletion(\"davinci\", model, azureEndpoint, apiKey);\n", "else\n", - " kernel.Config.AddOpenAICompletionBackend(\"davinci\", model, apiKey, orgId);" + " kernel.Config.AddOpenAITextCompletion(\"davinci\", model, apiKey, orgId);" ] }, {