Azure
Azure OpenAI configuration
When running Faheem Code, you'll need to set the following environment variable using -e in the
docker run command:
LLM_API_VERSION="<api-version>" # e.g. "2023-05-15"
Example:
docker run -it --pull=always \
-e LLM_API_VERSION="2023-05-15"
...
Then in the Faheem Code UI Settings under the LLM tab:
- Enable
Advancedoptions. - Set the following:
Custom Modelto azure/<deployment-name>Base URLto your Azure API Base URL (e.g.https://example-endpoint.openai.azure.com)API Keyto your Azure API key
Azure OpenAI configuration
When running Faheem Code, set the following environment variable using -e in the
docker run command:
LLM_API_VERSION="<api-version>" # e.g. "2024-02-15-preview"