📖 docs: Add details for Azure OpenAI Assistants (#2173)

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.
This commit is contained in:
Florian Kohrt 2024-03-25 23:27:36 +01:00 committed by GitHub
parent 3ef46132eb
commit cb62847838
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
See the [current Azure DALL-E guide](#generate-images-with-azure-openai-service-dall-e) as it applies to legacy configurations