chatgpt-mattermost-bot
chatgpt-mattermost-bot copied to clipboard
✨ Feature: add support for Azure OpenAI Service
If setting Azure OpenAI API key instead of OpenAI API key, it uses Azure OpenAI Service. The instance name, deployment name and API version are now configurable via environment variables. The API request base path and headers are set upped accordingly to use the Azure OpenAI Service API.
@takuya-o please adopt to allow to merge your contribution without conflicts