Replies: 2 comments
-
3月8号更新
|
Beta Was this translation helpful? Give feedback.
0 replies
-
继续:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
不知道现在还有没有人需要这样的客户端了。
ChatGPT Simple 是一个可以设置 OpenAI 域名(比如代理、自定义)和 API Key 的 Web Client,一个纯前端项目,这是因为 <api.openai.com> 没有限制 CORS,所以纯前端跨域请求成了可能,也避免 API Key 泄露的可能,数据及历史记录也是保存在本地的。
默认使用官方域名:https://api.openai.com,不过这个域名在中国地区无法访问,所以如果你没有 VPN 的话,可以尝试使用 Cloudflare workers 代理 OpenAI,具体可以看使用 Cloudflare Workers 解决 OpenAI 和 ChatGPT 的 API 无法访问的问题这篇文章,详细写了如何使用 Cloudflare 代理 OpenAI 域名(亲测可用)。
当你开始使用 ChatGPT Simple 时,需要填写可以访问 OpenAI API 的地址,默认是官方地址:https://api.openai.com。然后填写你的 OpenAI API Key,这是必填项。
在 Setting 对话框里,还可以设置
Max tokens
和assistant
个性或开场白,默认是 “You are a helpful assistant.”。还有默认模型是text-davinci-003
模型,也可以勾选gpt-3.5-turbo
来使用ChatGPT
模型,不过这个模型贵一点。然后点击页面的右上角的 "🥚" 新蛋展开一个新会话,点击 "🥑" 牛油果显示你的历史会话。
祝玩的愉快。
对了,项目 GitHub 地址:https://github.com/excing/chatgpt,求一个 ⭐。
项目截图:
Beta Was this translation helpful? Give feedback.
All reactions