全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 3455|回复: 24
打印 上一主题 下一主题

免登陆chatgpt3.5搞好了

[复制链接]
跳转到指定楼层
1#
发表于 2024-4-4 18:27:17 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
本帖最后由 美国总统奥巴马 于 2024-4-5 10:11 编辑

用的mjj发的帖子docker镜像
https://sunk.eu.org/thread-1291499-1-1.html

接口页长这样,挑ip,不然没法免登陆使用gpt3.5

输入这串代码
  1. curl http://localhost:3040/v1/chat/completions \
  2.   -H "Content-Type: application/json" \
  3.   -H "Authorization: Bearer any_string_you_like" \
  4.   -d '{
  5.     "model": "gpt-3.5-turbo",
  6.     "messages": [
  7.       {
  8.         "role": "user",
  9.         "content": "你好啊!"
  10.       }
  11.     ],
  12.     "stream": true
  13.     }'
复制代码

返回这样才表示接口没问题

  1. data: {"id":"chatcmpl-yjC2I9inE8xCdVWpx5dOF9g7HdIM","created":1712226236468,"object":"chat.completion.chunk","model":"gpt-3.5-turbo","choices":[{"delta":{"content":"你"},"index":0,"finish_reason":null}]}

  2. data: {"id":"chatcmpl-yjC2I9inE8xCdVWpx5dOF9g7HdIM","created":1712226236468,"object":"chat.completion.chunk","model":"gpt-3.5-turbo","choices":[{"delta":{"content":"好"},"index":0,"finish_reason":null}]}

  3. data: {"id":"chatcmpl-yjC2I9inE8xCdVWpx5dOF9g7HdIM","created":1712226236468,"object":"chat.completion.chunk","model":"gpt-3.5-turbo","choices":[{"delta":{"content":"!"},"index":0,"finish_reason":null}]}

  4. data: {"id":"chatcmpl-yjC2I9inE8xCdVWpx5dOF9g7HdIM","created":1712226236468,"object":"chat.completion.chunk","model":"gpt-3.5-turbo","choices":[{"delta":{"content":"有"},"index":0,"finish_reason":null}]}

  5. data: {"id":"chatcmpl-yjC2I9inE8xCdVWpx5dOF9g7HdIM","created":1712226236468,"object":"chat.completion.chunk","model":"gpt-3.5-turbo","choices":[{"delta":{"content":"什"},"index":0,"finish_reason":null}]}

  6. data: {"id":"chatcmpl-yjC2I9inE8xCdVWpx5dOF9g7HdIM","created":1712226236468,"object":"chat.completion.chunk","model":"gpt-3.5-turbo","choices":[{"delta":{"content":"么"},"index":0,"finish_reason":null}]}

  7. data: {"id":"chatcmpl-yjC2I9inE8xCdVWpx5dOF9g7HdIM","created":1712226236468,"object":"chat.completion.chunk","model":"gpt-3.5-turbo","choices":[{"delta":{"content":"可以"},"index":0,"finish_reason":null}]}

  8. data: {"id":"chatcmpl-yjC2I9inE8xCdVWpx5dOF9g7HdIM","created":1712226236468,"object":"chat.completion.chunk","model":"gpt-3.5-turbo","choices":[{"delta":{"content":"帮"},"index":0,"finish_reason":null}]}

  9. data: {"id":"chatcmpl-yjC2I9inE8xCdVWpx5dOF9g7HdIM","created":1712226236468,"object":"chat.completion.chunk","model":"gpt-3.5-turbo","choices":[{"delta":{"content":"助"},"index":0,"finish_reason":null}]}

  10. data: {"id":"chatcmpl-yjC2I9inE8xCdVWpx5dOF9g7HdIM","created":1712226236468,"object":"chat.completion.chunk","model":"gpt-3.5-turbo","choices":[{"delta":{"content":"你"},"index":0,"finish_reason":null}]}

  11. data: {"id":"chatcmpl-yjC2I9inE8xCdVWpx5dOF9g7HdIM","created":1712226236468,"object":"chat.completion.chunk","model":"gpt-3.5-turbo","choices":[{"delta":{"content":"的"},"index":0,"finish_reason":null}]}

  12. data: {"id":"chatcmpl-yjC2I9inE8xCdVWpx5dOF9g7HdIM","created":1712226236468,"object":"chat.completion.chunk","model":"gpt-3.5-turbo","choices":[{"delta":{"content":"吗"},"index":0,"finish_reason":null}]}

  13. data: {"id":"chatcmpl-yjC2I9inE8xCdVWpx5dOF9g7HdIM","created":1712226236468,"object":"chat.completion.chunk","model":"gpt-3.5-turbo","choices":[{"delta":{"content":"?"},"index":0,"finish_reason":null}]}

  14. data: {"id":"chatcmpl-yjC2I9inE8xCdVWpx5dOF9g7HdIM","created":1712226236468,"object":"chat.completion.chunk","model":"gpt-3.5-turbo","choices":[{"delta":{"content":""},"index":0,"finish_reason":null}]}

  15. data: {"id":"chatcmpl-yjC2I9inE8xCdVWpx5dOF9g7HdIM","created":1712226236468,"object":"chat.completion.chunk","model":"gpt-3.5-turbo","choices":[{"delta":{"content":""},"index":0,"finish_reason":null}]}

  16. data: {"id":"chatcmpl-yjC2I9inE8xCdVWpx5dOF9g7HdIM","created":1712226236468,"object":"chat.completion.chunk","model":"gpt-3.5-turbo","choices":[{"delta":{"content":""},"index":0,"finish_reason":null}]}

  17. data: {"id":"chatcmpl-yjC2I9inE8xCdVWpx5dOF9g7HdIM","created":1712226236468,"object":"chat.completion.chunk","model":"gpt-3.5-turbo","choices":[{"delta":{"content":""},"index":0,"finish_reason":"stop"}]}
复制代码

外国人分享精神真的厉害,是我搞个99元无限制使用gpt3.5,肯定每天入账几十万

推荐
发表于 2024-4-7 23:57:54 | 只看该作者
4我都觉得它sb,3.5这种真不理解有什么用,发财也发财不了,给国内做公益还会被干,chatgpt4 应该也是mjj 人手一份了吧
推荐
发表于 2024-4-5 12:50:01 | 只看该作者

如何配置默认配置啊大佬 每次进都要重新配置api
推荐
发表于 2024-4-4 20:53:51 | 只看该作者
daniu 发表于 2024-4-4 20:52
Microsoft Edge 是免费4.0

阉割版的吧,总感觉不对劲
24#
发表于 2024-4-7 23:47:06 | 只看该作者
在用Microsoft Edge 是免费4.0
23#
发表于 2024-4-7 20:26:17 | 只看该作者
能不能内置好设置接口?求大神解答
22#
发表于 2024-4-5 17:58:53 | 只看该作者
美国总统奥巴马 发表于 2024-4-5 09:57
国内是屏蔽 https://chat.openai.com 官网的,xd不知道吗

知道啊,官网都打不开还用什么GPT
21#
发表于 2024-4-5 17:33:11 | 只看该作者
哪家小鸡IP可以用,我试了几个都不行
20#
发表于 2024-4-5 16:04:57 | 只看该作者
这个还要本地搭建,直接扔render上会不会更好。。
render和vercel搭配,啥都省了
19#
发表于 2024-4-5 15:50:31 | 只看该作者
每个ip限制一个小时100条吧,楼主并发测试下看看
18#
发表于 2024-4-5 15:43:04 | 只看该作者

Chrome 红了
17#
发表于 2024-4-5 14:28:53 | 只看该作者
美国总统奥巴马 发表于 2024-4-5 12:57
建个文件compose.yaml
里面内容

这个文件放到哪个目录下大佬 root吗
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-12-14 10:07 , Processed in 0.080195 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表