microsoft / azurechat

🤖 💼 Azure Chat Solution Accelerator powered by Azure Open AI Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compatibility Issue with Azure GovCloud

mathias-koeppel opened this issue · comments

Description:
The current implementation of the repository does not work with Azure GovCloud. This is possibly due to hardcoded API endpoints that are specific to the global Azure environment.

Proposed Solution:
It would be beneficial to make all API endpoints configurable through environment variables. This change would allow users to specify custom endpoints, making the repository compatible with Azure GovCloud.

Relevant Documentation:
Azure Government vs. global Azure

Expected Benefits:

  • Flexibility to use the repository with Azure GovCloud.
  • Increased adaptability for users in different Azure environments.

Additional Context:
Configuring API endpoints through environment variables will enable users to plug in full URLs specific to their Azure environment, enhancing the repository's flexibility and usability across different governmental and non-governmental setups.

Additionally is there anyway to select the desired services? Dalle and Vision are not available for US Gov customers.

https://github.com/jasonpnnl/azurechat/tree/375-allow-override-of-service-endpoint-domains <- This attempts to bridge the gap but ripping out Vision and Dalle are painful.