Comments (44)
已使用新代码接入个人订阅号,服务器用的阿里云。用了一段时间之后突然阿里云->openAI的接口就一直超时了,但是我本地请求openAI接口有返回,是阿里云把openAI的接口检测到给ban了吗?
from bot-on-anything.
貌似model换到chatgpt后仍然使用的gpt-3,问了很多次,它都说自己用的是gpt-3的语言模型,并说OpenAI还没有推出gpt-3.5
在openAI的官网https://platform.openai.com/account/usage
页面下面的Model usage上可以看到是调用了 gpt-3.5-turbo-0301
from bot-on-anything.
https://github.com/kydycode/chatgpt-3.5-turbo/
from bot-on-anything.
晚上更新
from bot-on-anything.
from bot-on-anything.
接口好改,主要是要存储上下文才能达到最优的效果,这部分工作量可能会大一些
from bot-on-anything.
人机界面也要适当修改,使得用户可以输入两种queries,分别对应于下图中的system 和user,前者是新增的,不常变化,但对定位上下文很有用,后者类似于现在的或缺省。
from bot-on-anything.
是不是直接改就能暂时用上,不管上下文的话。
from bot-on-anything.
我刚才试了一下,反应速度确实快了很多,回答也更加智能一些;但是不一会,API 就无法使用了,提示http 443;openai 的库要升级到0.27.0 才行;
from bot-on-anything.
已支持 gpt-3.5-turbo 模型接入, 步骤如下:
- 获取最新代码 https://github.com/zhayujie/bot-on-anything
- 升级openai依赖,要求版本 0.27.0:
pip3 install --upgrade openai
- 修改 config.json 中 model 部分的 type 为
chatgpt
from bot-on-anything.
Coooool!
from bot-on-anything.
2. pip3 install --upgrade openai
AttributeError: module 'openai' has no attribute 'ChatCompletion',我直接升级,报了这个错
from bot-on-anything.
pip3 install --upgrade openai
pip3 show openai 呢
from bot-on-anything.
pip3 install --upgrade openai
pip3 show openai 呢
from bot-on-anything.
@ronaldinho1000 这样是ok的,你启动程序用的是 python3.8嘛
from bot-on-anything.
我也出现了上面那个问题:AttributeError: module 'openai' has no attribute 'ChatCompletion',
from bot-on-anything.
是的,我用的是python3.8
from bot-on-anything.
@ronaldinho1000 这样是ok的,你启动程序用的是 python3.8嘛
我另外一台服务器是python 3.7.8,chatgpt 是可以正常使用的,只有这个服务器报错;
from bot-on-anything.
是的,我用的是python3.8
python3.8 app.py 还有这个问题嘛
from bot-on-anything.
root@iZ2ze00b429mg5da5v5xtdZ:# pip3 show openai
Name: openai
Version: 0.26.5
Summary: Python client library for the OpenAI API
Home-page: https://github.com/openai/openai-python
Author: OpenAI
Author-email: [email protected]
License: None
Location: /usr/local/lib/python3.8/dist-packages
Requires: requests, aiohttp, tqdm
Required-by:
我这为什么安装不了更新呢,还是0.26.5版本,升不到0.27.0呢?大神,求解
from bot-on-anything.
@explorerJi 升级下pip版本试试
from bot-on-anything.
我也出现了上面那个问题:AttributeError: module 'openai' has no attribute 'ChatCompletion',
解决了,升级py版本
from bot-on-anything.
我也出现了上面那个问题:AttributeError: module 'openai' has no attribute 'ChatCompletion',
解决了,升级py版本
你升级到哪个py 版本了?
from bot-on-anything.
国内是不是不能用了
from bot-on-anything.
真的无语,打个字的功夫,本地也请求超时了。
from bot-on-anything.
已使用新代码接入个人订阅号,服务器用的阿里云。用了一段时间之后突然阿里云->openAI的接口就一直超时了,但是我本地请求openAI接口有返回,是阿里云把openAI的接口检测到给ban了吗?
+1。甚至连GPT3都一起ban掉了
from bot-on-anything.
已使用新代码接入个人订阅号,服务器用的阿里云。用了一段时间之后突然阿里云->openAI的接口就一直超时了,但是我本地请求openAI接口有返回,是阿里云把openAI的接口检测到给ban了吗?
+1。甚至连GPT3都一起ban掉了
已使用新代码接入个人订阅号,服务器用的阿里云。用了一段时间之后突然阿里云->openAI的接口就一直超时了,但是我本地请求openAI接口有返回,是阿里云把openAI的接口检测到给ban了吗?
我说我怎么用不了,太可恶了
from bot-on-anything.
腾讯云也访问不通了......
from bot-on-anything.
腾讯云也访问不通了......
太可恶了;全都用不了了
from bot-on-anything.
暂时通过开代理解决吧, 看看有没有其他办法
from bot-on-anything.
暂时通过开代理解决吧, 看看有没有其他办法
已经开了 成功复活!
from bot-on-anything.
暂时通过开代理解决吧, 看看有没有其他办法
问一下,现在不开代理,是不是连GPT-3.0都无法用(我个人订阅号哪里一直在反馈:正在处理,请稍后再试)
from bot-on-anything.
暂时通过开代理解决吧, 看看有没有其他办法
问一下,现在不开代理,是不是连GPT-3.0都无法用(我个人订阅号哪里一直在反馈:正在处理,请稍后再试)
是的,一把封了
from bot-on-anything.
大佬,我把你的线程池先注释掉了,换成了正常的一问一答的流程,发现99%的情况都不会有5s超时。因为如果第一次超时了,微信会连续发三次query。但是从实际体验来看,我的绝大多数回复都能在5s内返回。可能是新的api响应速度给优化了吧。
from bot-on-anything.
貌似model换到chatgpt后依然用的gpt-3,问了它很多次,它都说自己用的是gpt-3的语言模型,并说OpenAI还没有推出gpt-3.5
from bot-on-anything.
貌似model换到chatgpt后仍然使用的gpt-3,问了很多次,它都说自己用的是gpt-3的语言模型,并说OpenAI还没有推出gpt-3.5
在openAI的官网https://platform.openai.com/account/usage 页面下面的Model usage上可以看到是调用了 gpt-3.5-turbo-0301
还真是。。。
from bot-on-anything.
貌似model换到chatgpt后依然用的gpt-3,问了它很多次,它都说自己用的是gpt-3的语言模型,并说OpenAI还没有推出gpt-3.5
你可以问一下时间,它还说现在是2021年呢。反正接口的模型肯定没那么好,接入必应的模型明显就好很多。
from bot-on-anything.
请问gpt3.5是不是收费的?
from bot-on-anything.
from bot-on-anything.
现在
暂时通过开代理解决吧, 看看有没有其他办法
问一下,现在不开代理,是不是连GPT-3.0都无法用(我个人订阅号哪里一直在反馈:正在处理,请稍后再试)
是的,一把封了
现在是必须开代理才能访问openai的api的吗?
from bot-on-anything.
from bot-on-anything.
貌似model换到chatgpt后依然用的gpt-3,问了它很多次,它都说自己用的是gpt-3的语言模型,并说OpenAI还没有推出gpt-3.5
你可以问一下时间,它还说现在是2021年呢。反正接口的模型肯定没那么好,接入必应的模型明显就好很多。
必应的模型已经可以接入了吗?
from bot-on-anything.
貌似model换到chatgpt后依然用的gpt-3,问了它很多次,它都说自己用的是gpt-3的语言模型,并说OpenAI还没有推出gpt-3.5
你可以问一下时间,它还说现在是2021年呢。反正接口的模型肯定没那么好,接入必应的模型明显就好很多。
接入后怎么让他走clash?
from bot-on-anything.
- pip3 install --upgrade openai
AttributeError: module 'openai' has no attribute 'ChatCompletion',我直接升级,报了这个错
我也是,然后我用python3.8就可以了,之前一直是python3.6
from bot-on-anything.
Related Issues (20)
- 增加 企业微信客户群聊机器人(类似个人微信那种) HOT 1
- 这个仓库还在维护吗, 如果还在维护, 我新增了一些功能比如微信订阅号请求StableDiffusion等, 可以放上来. HOT 3
- "code":99992361,"msg":"open_id cross app","error":{"message":"Refer to the documentation to fix the error: https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-obtain-openid","log_id":"20230720164510B73862CD648745ABB2DD"} HOT 1
- 需求:能否接入本地部署的ChatGLM2-6B HOT 5
- KeyError: 'senderStaffId' HOT 4
- bing接口失效 HOT 1
- 希望加入对智谱AI的ChatGLM接口的支持(接口格式和openai不同)
- bard使用 聊天就报错闪退 HOT 2
- 项目与chatgpt-on-wechat项目一样支持接入知识库了吗入
- bing接口修复办法
- A
- 钉钉画图功能不能用
- bing&个人微信部署,扫码登录成功,对话就出错
- 个人微信wechat 必应bing 失效
- OpenAI SDK已更新到1.3.x,我为项目增加了连接OpenAI Assistant API的后端模型。
- Bard失效了吗? HOT 1
- 不维护了吗 HOT 1
- 在海外部署其他应用使用key可以成功使用chatgpt key,但是这个程序报错
- 微信公众号 设置好了 token 需要写其他的回调吗
- OpenAI接口没返回消息啊 我是新加坡的服务器 理论上是不需要挂代理的 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bot-on-anything.