From cb628478385b9b17ca7a0fc9b773821926e1417d Mon Sep 17 00:00:00 2001 From: Florian Kohrt Date: Mon, 25 Mar 2024 23:27:36 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=96=20docs:=20Add=20details=20for=20Az?= =?UTF-8?q?ure=20OpenAI=20Assistants=20(#2173)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The default `.env` contains the line `ASSISTANTS_API_KEY=user_provided`. When pre-configuring Azure OpenAI models, this setting makes it impossible to use assistants due to a missing user provided key. Only by commenting the line out the Azure setup works. --- docs/install/configuration/azure_openai.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/install/configuration/azure_openai.md b/docs/install/configuration/azure_openai.md index 74b7f27fcf..74fd2261dd 100644 --- a/docs/install/configuration/azure_openai.md +++ b/docs/install/configuration/azure_openai.md @@ -309,6 +309,7 @@ endpoints: - For this reason, it's recommended you use only one region or resource group for Azure OpenAI Assistants, or you will experience an error. - Uploading to "OpenAI" is the default behavior for official `code_interpeter` and `retrieval` capabilities. - Downloading files that assistants generate will soon be supported. +- If the `ASSISTANTS_API_KEY` is still set to `user_provided` in your environment file `.env`, comment it out. - As of March 14th 2024, retrieval and streaming are not supported through Azure OpenAI. - To avoid any errors with retrieval while it's not supported, it's recommended to disable the capability altogether through the `assistants` endpoint config: @@ -673,4 +674,4 @@ To use Azure with the Plugins endpoint, make sure the following environment vari **Generate images with Azure OpenAI Service (DALL-E)** -See the [current Azure DALL-E guide](#generate-images-with-azure-openai-service-dall-e) as it applies to legacy configurations \ No newline at end of file +See the [current Azure DALL-E guide](#generate-images-with-azure-openai-service-dall-e) as it applies to legacy configurations