全球主机交流论坛

标题: 免登陆chatgpt3.5搞好了 [打印本页]

作者: 美国总统奥巴马    时间: 2024-4-4 18:27
标题: 免登陆chatgpt3.5搞好了
本帖最后由 美国总统奥巴马 于 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,肯定每天入账几十万


作者: haode    时间: 2024-4-4 18:32
楼主分享免费给MJJ使用
作者: 美国总统奥巴马    时间: 2024-4-4 18:36
haode 发表于 2024-4-4 18:32
楼主分享免费给MJJ使用

https://chat.602602.xyz/
作者: daniu    时间: 2024-4-4 20:52
Microsoft Edge 是免费4.0
作者: superneed    时间: 2024-4-4 20:53
daniu 发表于 2024-4-4 20:52
Microsoft Edge 是免费4.0

阉割版的吧,总感觉不对劲
作者: daniu    时间: 2024-4-4 20:55
superneed 发表于 2024-4-4 20:53
阉割版的吧,总感觉不对劲

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

直接 docker 一步到位
作者: wyjistest    时间: 2024-4-5 09:11
昨天论坛有人分享自己搭建免费的GPT3.5

https://github.com/aurora-develop/aurora
作者: 卡尔    时间: 2024-4-5 09:19
不错            
作者: 1024honor    时间: 2024-4-5 09:22
官网直接用啊
作者: 美国总统奥巴马    时间: 2024-4-5 09:57
1024honor 发表于 2024-4-5 09:22
官网直接用啊

国内是屏蔽 https://chat.openai.com 官网的,xd不知道吗
作者: 云闪付    时间: 2024-4-5 10:07
美国总统奥巴马 发表于 2024-4-5 09:57
国内是屏蔽 https://chat.openai.com 官网的,xd不知道吗

和这种搞不懂的多说啥啊

作者: 我是老王    时间: 2024-4-5 10:22
自建不要用国内的域名商,不然会喝茶,违法的
作者: lpd187    时间: 2024-4-5 12:50
美国总统奥巴马 发表于 2024-4-4 18:36
https://chat.602602.xyz/来

如何配置默认配置啊大佬 每次进都要重新配置api
作者: 美国总统奥巴马    时间: 2024-4-5 12:57
lpd187 发表于 2024-4-5 12:50
如何配置默认配置啊大佬 每次进都要重新配置api


建个文件compose.yaml
里面内容
  1. services:
  2.   chatgpt-next-web:
  3.     image: yidadaa/chatgpt-next-web
  4.     ports:
  5.       - "3000:3000"
  6.     environment:
  7.       OPENAI_API_KEY: "gptyyds"
  8.       CODE: "" # 如果你想要设置页面的访问密码,请修改这里
  9.       BASE_URL: "你的api网址"
  10.       CUSTOM_MODELS: "-all,+gpt-3.5-turbo"
  11.     depends_on:
  12.       - freegpt35

  13.   freegpt35:
  14.     image: missuo/freegpt35:latest
  15.     restart: always
  16.     ports:
  17.       - "3040:3040"
复制代码

docker pull yidadaa/chatgpt-next-web
docker run -d -p 3000:3000    -e OPENAI_API_KEY=sk-xxxxxTN    -e CODE=    yidadaa/chatgpt-next-web
作者: lpd187    时间: 2024-4-5 14:28
美国总统奥巴马 发表于 2024-4-5 12:57
建个文件compose.yaml
里面内容

这个文件放到哪个目录下大佬 root吗
作者: muxinxy    时间: 2024-4-5 15:43
美国总统奥巴马 发表于 2024-4-4 18:36
https://chat.602602.xyz/来

Chrome 红了

作者: wfc    时间: 2024-4-5 15:50
每个ip限制一个小时100条吧,楼主并发测试下看看
作者: akb47    时间: 2024-4-5 16:04
这个还要本地搭建,直接扔render上会不会更好。。
render和vercel搭配,啥都省了
作者: Bedrocker    时间: 2024-4-5 17:33
哪家小鸡IP可以用,我试了几个都不行
作者: 1024honor    时间: 2024-4-5 17:58
美国总统奥巴马 发表于 2024-4-5 09:57
国内是屏蔽 https://chat.openai.com 官网的,xd不知道吗

知道啊,官网都打不开还用什么GPT
作者: 3848208    时间: 2024-4-7 20:26
能不能内置好设置接口?求大神解答
作者: 爱新觉罗·兴平    时间: 2024-4-7 23:47
在用Microsoft Edge 是免费4.0
作者: God_is_a_girl    时间: 2024-4-7 23:57
4我都觉得它sb,3.5这种真不理解有什么用,发财也发财不了,给国内做公益还会被干,chatgpt4 应该也是mjj 人手一份了吧




欢迎光临 全球主机交流论坛 (https://sunk.eu.org/) Powered by Discuz! X3.4