Closed haouarihk closed 1 month ago
Hey @haouarihk, sorry for that! Here's the config for Azure that should work:
{
"strategy": {
"mode": "loadbalance"
},
"targets": [
{
"provider": "openai",
"api_key": "sk-proj-",
"weight": 1
},
{
"provider": "azure-openai",
"api_key": "sk-proj-",
"resource_name": "AZURE_RESOURCE_NAME",
"deployment_id": "AZURE_DEPLOYMENT_NAME",
"api_version": "AZURE_API_VERSION",
"weight": 1
}
]
}
Also updating on the docs. Thanks for the nudge!
What Happened?
I searched the documentation extensively but could not find any information on configuring azure-openai in the config object.
What Should Have Happened?
The documentation should include detailed guidance on configuring azure-openai.
Relevant Code Snippet
here's my config example
Your Twitter/LinkedIn
@haouarihk