You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You now have the secrets to set the following .env variables in your local file. Copy the values to your `.env`:
265
-
-***AZURE_OPENAI_ENDPOINT*** = Use the value of `$openAIEndpoint` or `openAIEndpoint`.
266
-
-***AZURE_OPENAI_KEY*** = Use the value of `$openAIKey` or `openAIKey`.
296
+
```powershell
297
+
cat .env
298
+
```
299
+
300
+
<!-- #region -->
301
+
You now have the secrets and variables set in a .env. If you run into any errors you can also copy them to your .env file using the info below:
267
302
-***AZURE_GPT_DEPLOYMENT*** = Use the value of `gpt-4o-mini`.
268
303
-***AZURE_EMBEDDINGS_DEPLOYMENT*** = Use the value of `text-embedding-3-small`.
304
+
-***AZURE_OPENAI_ENDPOINT*** = Use the value of `$openAIEndpoint` or `openAIEndpoint`.
305
+
-***AZURE_OPENAI_KEY*** = Use the value of `$openAIKey` or `openAIKey`.
306
+
269
307
270
308
**Note**: To find the ***API version (Azure_OPENAI_VERSION)*** for your resource in the Azure OpenAI playground, follow these steps:
271
309
1.**Navigate to Deployments**: In the left side panel of the Azure OpenAI playground, click on “Deployments.”
272
310
2.**Select the Model Deployment**: Click on the specific model deployment you are working with.
273
311
3.**Locate the Endpoint Section**: In the endpoint section, you will see the Target URI.
274
-
4.**Find the API Version**: Look for the part of the URL that includes `api-version=2024-08-01-preview`. This will be your API version.
312
+
4.**Find the API Version**: Look for the part of the URL that looks similar to `api-version=2025-01-01-preview`. This will be your API version. This may differ between models
275
313
276
314
Your final local `.env` file should look something like this:
277
-
```sh
278
-
AZURE_OPENAI_VERSION = "Your Azure OpenAI API version"
279
-
AZURE_OPENAI_ENDPOINT = "Your Azure OpenAI API endpoint"
280
-
AZURE_OPENAI_KEY = "Your Azure OpenAI API key"
281
-
AZURE_GPT_DEPLOYMENT = "Your Azure OpenAI deployed GPT model name"
282
-
AZURE_EMBEDDINGS_DEPLOYMENT = "Your Azure OpenAI deployed ADA model name"
283
-
AZURE_SEARCH_ENDPOINT = "Your Azure AI Search API endpoint"
284
-
AZURE_SEARCH_ADMIN_KEY = "Your Azure AI Search API key"
285
-
BLOB_CONTAINER_NAME = "Your Azure Blob Container name hosting files from /search_documents"
Congratulations on completing the Azure setup! During this process, we established a new resource group dedicated to the NIH Cloud Lab environment and
@@ -299,4 +331,4 @@ Additionally, we configured `.env` variables in your local `.env` file, which is
299
331
You are now ready to proceed with the GenAI tutorials!
300
332
301
333
## Clean Up <aname="clean_up"></a>
302
-
No clean up neccessary, as the created resources will be used for tutorials found in [GenAI](../).
334
+
No clean up neccessary, as the created resources will be used for tutorials found in [GenAI](../) folder, specifically [embeddings demos](../embedding_demos/readme.md) and [AI Search RAG chatbot](../notebooks/AISearch_RAG_chatbot.ipynb) tutorial .
0 commit comments