Examples and guides for using the OpenAI API
[typo] replace words (#1399)
Youshin Kim827ec1f8b9ca
diff --git a/examples/azure/chat_with_your_own_data.ipynb b/examples/azure/chat_with_your_own_data.ipynbindex 6f8b05fb..0d56d33b 100644--- a/examples/azure/chat_with_your_own_data.ipynb+++ b/examples/azure/chat_with_your_own_data.ipynb@@ -28,7 +28,7 @@"metadata": {},"source": ["## Prerequisites\n",- "To get started, we'll cover a few prequisites. \n",+ "To get started, we'll cover a few prerequisites. \n","\n","To properly access the Azure OpenAI Service, we need to create the proper resources at the [Azure Portal](https://portal.azure.com) (you can check a detailed guide on how to do this in the [Microsoft Docs](https://learn.microsoft.com/azure/cognitive-services/openai/how-to/create-resource?pivots=web-portal))\n","\n",@@ -139,7 +139,7 @@"metadata": {},"source": ["#### Authentication using Azure Active Directory\n",- "Let's now see how we can autheticate via Azure Active Directory. We'll start by installing the `azure-identity` library. This library will provide the token credentials we need to authenticate and help us build a token credential provider through the `get_bearer_token_provider` helper function. It's recommended to use `get_bearer_token_provider` over providing a static token to `AzureOpenAI` because this API will automatically cache and refresh tokens for you. \n",+ "Let's now see how we can authenticate via Azure Active Directory. We'll start by installing the `azure-identity` library. This library will provide the token credentials we need to authenticate and help us build a token credential provider through the `get_bearer_token_provider` helper function. It's recommended to use `get_bearer_token_provider` over providing a static token to `AzureOpenAI` because this API will automatically cache and refresh tokens for you. \n","\n","For more information on how to set up Azure Active Directory authentication with Azure OpenAI, see the [documentation](https://learn.microsoft.com/azure/ai-services/openai/how-to/managed-identity)."]diff --git a/examples/azure/embeddings.ipynb b/examples/azure/embeddings.ipynbindex 776d2cb3..86c53b63 100644--- a/examples/azure/embeddings.ipynb+++ b/examples/azure/embeddings.ipynb@@ -91,7 +91,7 @@"metadata": {},"source": ["#### Authentication using Azure Active Directory\n",- "Let's now see how we can autheticate via Azure Active Directory. We'll start by installing the `azure-identity` library. This library will provide the token credentials we need to authenticate and help us build a token credential provider through the `get_bearer_token_provider` helper function. It's recommended to use `get_bearer_token_provider` over providing a static token to `AzureOpenAI` because this API will automatically cache and refresh tokens for you. \n",+ "Let's now see how we can authenticate via Azure Active Directory. We'll start by installing the `azure-identity` library. This library will provide the token credentials we need to authenticate and help us build a token credential provider through the `get_bearer_token_provider` helper function. It's recommended to use `get_bearer_token_provider` over providing a static token to `AzureOpenAI` because this API will automatically cache and refresh tokens for you. \n","\n","For more information on how to set up Azure Active Directory authentication with Azure OpenAI, see the [documentation](https://learn.microsoft.com/azure/ai-services/openai/how-to/managed-identity)."]diff --git a/examples/azure/functions.ipynb b/examples/azure/functions.ipynbindex 82074f68..5c2ca444 100644--- a/examples/azure/functions.ipynb+++ b/examples/azure/functions.ipynb@@ -96,7 +96,7 @@"metadata": {},"source": ["#### Authentication using Azure Active Directory\n",- "Let's now see how we can autheticate via Azure Active Directory. We'll start by installing the `azure-identity` library. This library will provide the token credentials we need to authenticate and help us build a token credential provider through the `get_bearer_token_provider` helper function. It's recommended to use `get_bearer_token_provider` over providing a static token to `AzureOpenAI` because this API will automatically cache and refresh tokens for you. \n",+ "Let's now see how we can authenticate via Azure Active Directory. We'll start by installing the `azure-identity` library. This library will provide the token credentials we need to authenticate and help us build a token credential provider through the `get_bearer_token_provider` helper function. It's recommended to use `get_bearer_token_provider` over providing a static token to `AzureOpenAI` because this API will automatically cache and refresh tokens for you. \n","\n","For more information on how to set up Azure Active Directory authentication with Azure OpenAI, see the [documentation](https://learn.microsoft.com/azure/ai-services/openai/how-to/managed-identity)."]diff --git a/examples/azure/whisper.ipynb b/examples/azure/whisper.ipynbindex 38f206b5..fa40cf79 100644--- a/examples/azure/whisper.ipynb+++ b/examples/azure/whisper.ipynb@@ -91,7 +91,7 @@"metadata": {},"source": ["#### Authentication using Azure Active Directory\n",- "Let's now see how we can autheticate via Azure Active Directory. We'll start by installing the `azure-identity` library. This library will provide the token credentials we need to authenticate and help us build a token credential provider through the `get_bearer_token_provider` helper function. It's recommended to use `get_bearer_token_provider` over providing a static token to `AzureOpenAI` because this API will automatically cache and refresh tokens for you. \n",+ "Let's now see how we can authenticate via Azure Active Directory. We'll start by installing the `azure-identity` library. This library will provide the token credentials we need to authenticate and help us build a token credential provider through the `get_bearer_token_provider` helper function. It's recommended to use `get_bearer_token_provider` over providing a static token to `AzureOpenAI` because this API will automatically cache and refresh tokens for you. \n","\n","For more information on how to set up Azure Active Directory authentication with Azure OpenAI, see the [documentation](https://learn.microsoft.com/azure/ai-services/openai/how-to/managed-identity)."]