RainEggplant/chatgpt-telegram-bot

[Feature Request]: Could it support azure openai

Opened this issue · 2 comments

Not a duplicate feature request

  • I have searched the existing issues and confirmed this feature request is not a duplicate.

Supported by the upstream API

  • This feature can be implemented using the upstream API.

Describe the feature

Azure also provides gpt services, this key payment is more convenient. And their documents show that as long as there is one more definition of openai.api_type = "azure", the openai module can be used directly. So could you consider adding support for Azure OpenAI? Thanks.

https://learn.microsoft.com/en-us/azure/cognitive-services/openai/overview

Additional context

No response

https://github.com/stulzq/azure-openai-proxy

I found this project, and the integration of azure openai and this project can be realized through this proxy.

Vadko commented

Hello @suikaremilia, thanks for your request, unfortunately we don't have enough time for this, feel free to open PR.