Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support azure-openai gpt-35-turbo models (1106 and 0125) #518

Closed
fcakyon opened this issue Jan 18, 2024 · 5 comments · Fixed by #523
Closed

support azure-openai gpt-35-turbo models (1106 and 0125) #518

fcakyon opened this issue Jan 18, 2024 · 5 comments · Fixed by #523

Comments

@fcakyon
Copy link
Contributor

fcakyon commented Jan 18, 2024

Hey @ztjhz !

Thanks for the excellent repo!

Azure Openai models are named 'gpt-35-turbo-1106' instead of 'gpt-3.5-turbo-1106'. Could you add a mapping for azure endpoints by checking the endpoint URL? Azure endpoints are in this format: 'https://DEPLOYMENT-NAME.openai.azure.com/'.

Something like this would work: if 'openai.azure.com' is in endpoint_url, change 'gpt-3.5-turbo-1106' to 'gpt-35-turbo-1106'.

Bests

@phly95
Copy link

phly95 commented Jan 22, 2024

Or perhaps allow users to type their own model names.

@ztjhz
Copy link
Owner

ztjhz commented Jan 23, 2024

Hi, the azure endpoints are already mapped here: https://github.com/ztjhz/BetterChatGPT/blob/main/src/api/api.ts#L18

@fcakyon
Copy link
Contributor Author

fcakyon commented Jan 23, 2024

@ztjhz thanks for your response!

However, that list is not complete. For instance, it doesn't include the latest gpt3.5 versions: gpt-3.5-turbo-1106

@Ahmet-Dedeler
Copy link

hi, how are you supposed to enter the custom azure endpoint?

been trying https://YOUR_RESOURCE_NAME.openai.azure.com/openai/deployments/YOUR_DEPLOYMENT_NAME/completions?api-version=2023-05-15 but hasn't worked.

would appreciate any help!

fcakyon added a commit to fcakyon/BetterChatGPT that referenced this issue Jan 29, 2024
@fcakyon
Copy link
Contributor Author

fcakyon commented Jan 29, 2024

opened a pr to fix this issue @ztjhz #523

@fcakyon fcakyon changed the title support azure-openai gpt-35-turbo models support azure-openai gpt-35-turbo models (1106 and 0125) Jan 29, 2024
ztjhz pushed a commit that referenced this issue Jan 30, 2024
* support azure gpt-3.5-turbo-1106 model

fixes #518

* support azure gpt 3.5 0125 model
Renirous added a commit to Renirous/BetterChatGPT that referenced this issue Mar 15, 2024
* support azure gpt-3.5-turbo-1106 model

fixes ztjhz/BetterChatGPT#518

* support azure gpt 3.5 0125 model
SeniorDev222 added a commit to SeniorDev222/BetterChatGPT that referenced this issue Oct 23, 2024
* support azure gpt-3.5-turbo-1106 model

fixes ztjhz/BetterChatGPT#518

* support azure gpt 3.5 0125 model
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants