全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 3392|回复: 24

免登陆chatgpt3.5搞好了

[复制链接]
发表于 2024-4-4 18:27:17 | 显示全部楼层 |阅读模式
本帖最后由 美国总统奥巴马 于 2024-4-5 10:11 编辑

用的mjj发的帖子docker镜像
https://hostloc.com/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

阉割版的吧,总感觉不对劲
发表于 2024-4-4 18:32:08 | 显示全部楼层
楼主分享免费给MJJ使用
 楼主| 发表于 2024-4-4 18:36:44 | 显示全部楼层
haode 发表于 2024-4-4 18:32
楼主分享免费给MJJ使用

https://chat.602602.xyz/
发表于 2024-4-4 20:52:43 | 显示全部楼层
Microsoft Edge 是免费4.0
发表于 2024-4-4 20:55:21 | 显示全部楼层
superneed 发表于 2024-4-4 20:53
阉割版的吧,总感觉不对劲

阉割了啥?
发表于 2024-4-4 21:55:05 | 显示全部楼层
写脚本挺方便的,只是有时还不够智能,叫它优化ififi套娃的脚本,函数倒是给我整理的整整齐齐的,但是逻辑漏了一步,还有一次给我写了一个我不熟悉的命令运行总是不对,和它扯了半天它,最后自己去查才发现把位置换一下就对了,gpt描述半天也没改过来。你不指出错误它永远不觉得自己有错
发表于 2024-4-4 22:15:21 | 显示全部楼层
早就有了:https://github.com/missuo/FreeGPT35

直接 docker 一步到位
发表于 2024-4-5 09:11:26 | 显示全部楼层
昨天论坛有人分享自己搭建免费的GPT3.5

https://github.com/aurora-develop/aurora
发表于 2024-4-5 09:19:13 | 显示全部楼层
不错            
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-9-12 01:55 , Processed in 0.066035 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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