Closed xiaoToby closed 4 months ago
得去数据库导出。
是啊,是得去数据库导出,我还没找出是在数据库得哪个路径下去找
目前情况下只能通过数据库导出,参考命令如下: mongoexport -u "xxxx" -p "xxxx" --authenticationDatabase admin --db=fastgpt --collection=chatitems --type=csv --fields=chatId,appId,title,obj,value,time --out=/data/db/chatitems.csv 聊天记录放在chatitems里面,fields定义需要的字段,导出到chatitems.csv
例行检查
功能描述 现有在前端界面中可以以多种格式(html,md,pdf)导出对话日志,如果想导出数据库(pg/mongo)中的对话日志文件呢 应用场景
相关示例