Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed this notebook automatically resetting the bool to false #935

Merged
merged 2 commits into from
May 18, 2023
Merged
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
4 changes: 2 additions & 2 deletions samples/notebooks/dotnet/00-getting-started.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"**Step 2**: Add your [Open AI Key](https://openai.com/api/) or [Azure Open AI Service key](https://learn.microsoft.com/azure/cognitive-services/openai/quickstart?pivots=programming-language-studio) key to run a function below and save your key in the configuration files for later use."
"**Step 2**: Add your [Open AI Key](https://openai.com/api/) or [Azure Open AI Service key](https://learn.microsoft.com/azure/cognitive-services/openai/quickstart?pivots=programming-language-studio) key to run a function below and save your key in the configuration files for later use. Please set the same value for bool useAzureOpenAI as you did in the previous notebook. So if you're using Azure OpenAI, set the bool to true."
]
},
{
Expand All @@ -55,7 +55,7 @@
"\n",
"#!import config/Settings.cs\n",
"\n",
"// Setup Open AI Configuration\n",
"// Setup Open AI Configuration. Please set the same value for bool useAzureOpenAI as you did in the previous notebook. So if you're using Azure OpenAI, set the bool to true. \n",
"bool useAzureOpenAI = false;\n",
"await Settings.AskAzureEndpoint(useAzureOpenAI);\n",
"await Settings.AskModel(useAzureOpenAI);\n",
Expand Down