Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Update Azure API #1440

Merged
merged 1 commit into from
Jun 26, 2023
Merged

Update Azure API #1440

merged 1 commit into from
Jun 26, 2023

Conversation

luping-liu
Copy link
Contributor

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

@acheong08 acheong08 merged commit cc07e2f into acheong08:main Jun 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants