ChatGPTNextWeb / ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
https://app.nextchat.dev/
MIT License
72.61k stars 57.69k forks source link

How to config Azure OpenAI? #4787

Closed hecongy closed 1 month ago

hecongy commented 1 month ago

I tried this:

docker run -d -p 3000:3000 -e CODE={} -e AZURE_URL=https://{azure-resource-url}/openai/deployments/{deploy-name} -e AZURE_API_KEY={} -e AZURE_API_VERSION={} yidadaa/chatgpt-next-web

When open in browser, I got below error:

image

Did I miss something in the docker command?

nextchat-manager[bot] commented 1 month ago

Please follow the issue template to update title and description of your issue.

hecongy commented 1 month ago

Please follow the issue template to update title and description of your issue.

The page is not found.

romellfudi commented 2 weeks ago

@hecongy did you fix it?

Issues-translate-bot commented 2 weeks ago

Bot detected the issue body's language is not English, translate it automatically.


@hecongy did you fix it?

romellfudi commented 2 weeks ago

@hecongy I fixed it, just I set the full endpoint in the endpoint.

hecongy commented 2 weeks ago

Yes, I fix it, the issue is that I used a wrong AZURE_API_VERSION.