-
Notifications
You must be signed in to change notification settings - Fork 761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
建议增加批量导出聊天、合并聊天功能、修改聊天名称、聊天内容模糊搜索 #228
Labels
enhancement
New feature or request
Milestone
Comments
👌 |
可以优先实现下 批量导出聊天 功能吗?刚需 |
可以 |
josStorer
added a commit
that referenced
this issue
Apr 21, 2023
v2.2.8 已加入导出功能 |
明天会更新 Chrome应用商店中 ChatGPTBox的版本吗? |
谷歌商店审核大概要三天,我已经提交了 |
导出的是 json 格式,不能和下载一样导出 markdown 吗 |
目前的导出格式是为了同时方便未来的导入功能, 导出的json中的conversationRecords内容仍然是markdown的 目前你可以通过如下方式将导出数据转换成markdown:
const data = 复制导出的json的所有内容, 粘贴到此处
async function saveFile(exportData) {
let output=""
exportData.conversationRecords.forEach((data) => {
output += `Question:\n\n${data.question}\n\nAnswer:\n\n${
data.answer
}\n\n<hr/>\n\n`
})
const blob = new Blob([output], { type: 'text/plain;charset=utf-8' })
const newHandle = await window.showSaveFilePicker({
types: [
{
description: "Markdown",
accept: { "text/plain": [".md"] },
},
],
});
const writableStream = await newHandle.createWritable();
await writableStream.write(blob);
await writableStream.close();
}
saveFile(data[0]) |
josStorer
added a commit
that referenced
this issue
Apr 27, 2023
修改聊天名称 大佬什么时候有空udpate下 |
最近在忙别的项目 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the solution you'd like
你期望的新功能实现方案
建议增加批量导出聊天、合并聊天功能、修改聊天名称、聊天内容模糊搜索
The text was updated successfully, but these errors were encountered: