
Azure OpenAI
Installation
Run the following command inside your application directory.
If you're using Enthusiast Starter, that's inside enthusiast-starter/src/
poetry add enthusiast-model-azureopenaiSet variables inside .env file.
AZURE_OPENAI_API_KEY=<value_here>
AZURE_OPENAI_ENDPOINT=<value_here>Then, register the integration in your config/settings_override.py.
CATALOG_LANGUAGE_MODEL_PROVIDERS = {
...
"Azure OpenAI": "enthusiast_model_openai.AzureOpenAILanguageModelProvider",
}CATALOG_EMBEDDING_PROVIDERS = {
...
"Azure OpenAI": "enthusiast_model_openai.AzureOpenAIEmbeddingProvider",
}Last updated on