Comments (3)
我感觉是因为问的问题里没有加“?”
问题带标点问完整了就不会回复时带“?”
另外,有的时候问的问题,反馈是error时(如下),机器人没有响应,似乎可以优化下,做个回复,这样使人明白发生了什么。
time="2023-02-08T05:29:42Z" level=info msg="{\n "error": {\n "message": "This model's maximum context length is 4097 tokens, however you requested 4451 tokens (451 in your prompt; 4000 for the completion). Please reduce your prompt; or completion length.",\n "type": "invalid_request_error",\n "param": null,\n "code": null\n }\n}\n"
from wechatgpt.
返回后的数据编码问题
from wechatgpt.
我感觉是因为问的问题里没有加“?” 问题带标点问完整了就不会回复时带“?”
另外,有的时候问的问题,反馈是error时(如下),机器人没有响应,似乎可以优化下,做个回复,这样使人明白发生了什么。 time="2023-02-08T05:29:42Z" level=info msg="{\n "error": {\n "message": "This model's maximum context length is 4097 tokens, however you requested 4451 tokens (451 in your prompt; 4000 for the completion). Please reduce your prompt; or completion length.",\n "type": "invalid_request_error",\n "param": null,\n "code": null\n }\n}\n"
openai有最大返回量的限制,chat.openai.chat的也有最大限制,但是你回复继续的话他就会继续再发。我现在没有加上下文的功能,所以报错就没有回复了。 带问号是因为你给他提的问题没加问号,自动给你补全了,有点多此一举了
from wechatgpt.
Related Issues (20)
- 程序解析chatgpt的回答报错 HOT 9
- 能否增加telegram中回复消息通过markdown格式显示的功能 HOT 1
- 扫码后点击登录然后程序就退出了 HOT 1
- 直接调通openai接口的原理是啥,为什么我本地调接口的时候必须翻墙呢 HOT 5
- 又遇到微信警告被封的么 HOT 1
- 群晖docker运行每隔5分钟闪退一次 HOT 1
- 这个必须要微信网页版吗 HOT 1
- 重新运行APP后会出现一个问题 HOT 1
- 不同聊天对话都会被带到上下文中 HOT 1
- 支持企业微信嘛 HOT 1
- 提问返回错误信息 HOT 2
- 小白的求助
- 小白求助
- 小白求助 HOT 1
- 启动程序后 报错 HOT 1
- 运行成功后发送消息显示连接被拒绝 HOT 3
- 能不能弄个钉钉的呢
- 关于eataapple的wechat sdk频繁掉线的问题 HOT 1
- 自动接受好友请求
- 希望把 api 地址改为可配置的环境变量 HOT 2
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 wechatgpt.