Comments (3)
1.问题请求接口改为post。get方法有字数限制,贴段长代码就报错了。
2.聊天会话没有做隔离,多人使用对话上下文会干扰。没有会话重置按钮。
感谢反馈
- 经测试,ChatGPT官方网页版也有长度限制(作者github也有说明),将gunicorn默认的长度限制放开即可解决(目前已处理完毕);
- 关于会话隔离问题,在作者github有多个issue及discussion提及,目前不确定是作者代码问题还是我的代码问题,但是如果是我这边的问题的话,恕我无力解决(不擅长),如果可以,欢迎提交pr,重置同理。
from chatgpt-html.
1.问题请求接口改为post。get方法有字数限制,贴段长代码就报错了。
2.聊天会话没有做隔离,多人使用对话上下文会干扰。没有会话重置按钮。感谢反馈
- 经测试,ChatGPT官方网页版也有长度限制(作者github也有说明),将gunicorn默认的长度限制放开即可解决(目前已处理完毕);
- 关于会话隔离问题,在作者github有多个issue及discussion提及,目前不确定是作者代码问题还是我的代码问题,但是如果是我这边的问题的话,恕我无力解决(不擅长),如果可以,欢迎提交pr,重置同理。
我没测试,但粗看了下接口说明,应该是以UUID标识一个会话的,ask方法就可以传进去。
https://github.com/acheong08/ChatGPT/wiki/V1
from chatgpt-html.
- 当发送超长字符给ChatGPT时,官方网页返回“The message you submitted was too long, please reload the conversation and submit something shorter.”自建网页则直接长时间无响应(作者代码没做这种抛出返回,也有可能openai本身就没作为抛出;因为现在没有在gunicorn做长度限制,准备加一行红字提示)
- 经过一下午观察,发现既不是完全集中在一个会话,也不是每个新会话都会新建一个新聊天窗口,不准备处理这个问题了
from chatgpt-html.
Related Issues (20)
- 已解决
- macos 操作执行不成功 HOT 3
- 404 (Not Found) HOT 2
- 网页无响应 HOT 4
- 就一个微软账号怎么办 HOT 1
- 服务器500 HOT 1
- OpenAIAuth.Error HOT 2
- 完整的api封装请参考这个项目 HOT 3
- maybe deactivated account HOT 13
- 能否问问,需要多少安装空间? HOT 2
- worker fail to boot HOT 2
- HTTPSConnectionPool(host='chatgpt.duti.tech', port=443): Max retries exceeded with url: /api/conversation (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fe837958150>: Failed to establish a new connection: [Errno -5] No address associated with hostname')) HOT 6
- The Compose file './docker-compose.yml' is invalid because: Unsupported config option for services: 'chatgpt' HOT 2
- can't start new thread HOT 3
- pandoraAI测试站,好像必须扶梯? HOT 2
- 找不到config.json? HOT 1
- Is this test site unusable? Why didn't I respond to my conversation with him? How should I solve it? HOT 1
- 连续对话时,滚动条不会自动下拉 HOT 4
- CHATGPT_BASE_URL是什么 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 chatgpt-html.