无服务器搭建ChatGPT3.5
需要准备东西
1.ChatGPT账号key
获取地址(需魔法):
https://platform.openai.com/account/api-keys
2.Github账号
注册地址:
https://github.com/
3.Vercel账号
用Github登录即可(先用Github注册),需要手机号验证
https://vercel.com/login
4.项目作者的GitHub
https://github.com/ddiu8081/chatgpt-demo
开始搭建
1.打开项目
https://github.com/ddiu8081/chatgpt-demo
登录自己github账号
2.点击项目左下侧的Deploy进入Vercel页面
3.然后用github登录成功(需要验证手机号)
4.选择github
然后自定义一个自己的名称-点击创建
5.填入自己的chatgpt的api-key,部署即可
6.等待一会就完成了
7.点击Continue To Dashboard进入管理页面
访问vercel分配的网址即可