File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1010
1111与官方 ChatGPT 相比:
1212
13- - 对话记录使用浏览器的 localStorage 保存在本地
13+ - API 调用速度更快更稳定
14+ - 对话记录、API 密钥等使用浏览器的 localStorage 保存在本地
1415- 可删除对话消息
15- - 可以设置 system message (如:"你是一个猫娘",参见官方 [ API 文档] ( https://platform.openai.com/docs/guides/chat ) )
16+ - 可以设置 system message (如:"你是一个猫娘" 或 "你是一个有用的助理" 或 "将我的话翻译成英语" ,参见官方 [ API 文档] ( https://platform.openai.com/docs/guides/chat ) )
1617- 可以为不同对话设置不同 APIKEY
1718- 小(整个网页 30k 左右)
1819- 可以设置不同的 API Endpoint(方便墙内人士使用反向代理转发 API 请求)
3637- ` api ` : API Endpoint 默认为 ` https://api.openai.com/v1/chat/completions `
3738- ` mode ` : ` fetch ` 或 ` stream ` 模式,stream 模式下可以动态看到 api 返回的数据,但无法得知 token 数量,只能进行估算,在 token 数量过多时可能会裁切过多或过少历史消息
3839
39- 例如 ` http://localhost:1234/?key=xxxx ` 那么新创建的会话将会使用该默认 API
40+ 例如 ` http://localhost:1234/?key=xxxx&api=xxxx ` 那么 ** 新创建 ** 的会话将会使用该默认 API 和 API Endpoint
4041
4142以上参数应用于单个对话,随时可在顶部更改
4243
You can’t perform that action at this time.
0 commit comments