microsoft / azurechat

🤖 💼 Azure Chat Solution Accelerator powered by Azure Open AI Service
MIT License
1.19k stars 1.12k forks source link

Allow override of service endpoint domain suffixes #375

Closed jasonpnnl closed 2 weeks ago

jasonpnnl commented 5 months ago

Domain suffixes for service endpoints, for example openai.azure.com, search.windows.net, core.windows.net, and vault.azure.net are hardcoded. It would be better if they were allowed to be overridden via ENV variable. There could still be a default for the US commercial regions, but this would allow for a better way of setting endpoints for deployments such as sovereign regions..