Hello, I am having an issue with support for Azure API on issue #1342. The original version does not seem to be working. To solve this issue, I have updated the function ask_stream based on the Azure office introduction.
Now, users can use Azure chatgpt API by adding API_URL="your Endpoint" MODEL_NAME="your deployment name".
Hello, I am having an issue with support for Azure API on issue #1342. The original version does not seem to be working. To solve this issue, I have updated the function
ask_stream
based on the Azure office introduction.Now, users can use Azure chatgpt API by adding
API_URL="your Endpoint" MODEL_NAME="your deployment name"
.The Azure office introduction: https://learn.microsoft.com/en-us/azure/cognitive-services/openai/chatgpt-quickstart?tabs=command-line&pivots=rest-api