Comments (7)
db.chat.deleteMany({status: 1});
db.chat_room.deleteMany({status: 1});
可以在数据库使用这两行代码删除所有冗余数据
from chatgpt-web.
之前我也发现这个问题。 是故意还是不小心 (ฅ´ω`ฅ) @Kerwin1202
from chatgpt-web.
应该是故意的吧,我觉得这种彻底删除不能让用户主动做,便于你后台审核一些东西,比如统计分析。敏感话题追责
from chatgpt-web.
故意的
from chatgpt-web.
有标记,遭不住可以写个cron脚本批量删鸭
from chatgpt-web.
故意的
感觉可以在管理员设置里面增加一个一键删除冗余数据的按钮。
可以使用以下两行语句
db.chat.deleteMany({status: 1});
db.chat_room.deleteMany({status: 1});
from chatgpt-web.
1000 条才 1M 1000w 也 10G 删的问题就不考虑
from chatgpt-web.
Related Issues (20)
- 希望可以添加自定义模型名称,不需要每次新增模型都要作者来更新 HOT 5
- 误修改超级管理员为user,无法恢复其超管身份 HOT 2
- 注册或重置密码邮件无法发送,因缺失 /service/build/utils/templates/mail.template.html 文件。
- 哪位大佬愿意分享一下数据库表结构,不甚感激!!! HOT 5
- Context input token for turbo gpt 4 preview
- 使用 dall-e-3 模型,服务拒绝 HOT 1
- 输出公式没有正常渲染 HOT 1
- 使用逆向的API无法正常携带上下文 HOT 2
- 用户管理建议 HOT 1
- 注册后收不到验证邮件怎么办,qq邮箱 HOT 1
- 不用注册也能用的ChatGPT怎么集成? HOT 1
- 能否根据不同模型扣除不同次数
- 用户管理页面能否增加一个最后登陆时间的字段?
- 选择3.5模型后,询问GPT他说他是3的模型,但是同一个Key我在别的平台用,一样选择3.5我再问他,他说他是3.5模型 HOT 2
- GPT4 turbo
- 邮箱验证、修改密码报错后,后台服务程序直接退出 HOT 1
- SMTP设置部分能增加一个发件人地址字段吗
- 建议增加STT、TTS、OCR功能
- 程序回答代码高亮问题 HOT 4
- 怎么修改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 chatgpt-web.