-
Notifications
You must be signed in to change notification settings - Fork 5
Home
黑墨水鱼 edited this page Jul 3, 2023
·
6 revisions
反向代理是指在服务器端设置软件将 /v1/chat/completions
的请求反向代理到https://api.openai.com/
。通过使用这种方法,可以避免 IP 被 OPENAI 封禁,并且多人共享的情况也可以得到有效解决。
chatgpt-api-web 只是一个网页,不关心后端在哪里。因此,只要指定 key 和 api 端点即可通过反向代理访问 OPENAI。例如可以使用部署在 AWS Lambda 上的后端: https://heimoshuiyu.github.io/chatgpt-api-web/?key=woshimima&api=https%3A%2F%2F3xewsdvql2bo56by6jdxdlyaca0sdier.lambda-url.us-east-1.on.aws%2F&mode=fetch