mossgpt-utools
mossgpt-utools copied to clipboard
支持导入/导出会话
- 支持导入/导出会话
- 兼容 https://github.com/Chanzhaoyu/chatgpt-web ,可以将其导出的文件导入至 moss 插件内。
以下是导出的文件示例。
{
"data": {
"active": 1678961702678,
"history": [
{
"title": "New Chat",
"uuid": 1678961940425,
"isEdit": false
},
{
"title": "hello",
"uuid": 1678961702678,
"isEdit": false
}
],
"chat": [
{
"uuid": 1678961940425,
"data": []
},
{
"uuid": 1678961702678,
"data": [
{
"dateTime": "2023/3/16 18:19:07",
"text": "hello",
"inversion": true,
"error": false,
"conversationOptions": null,
"requestOptions": {
"prompt": "hello",
"options": null
}
},
{
"dateTime": "2023/3/16 18:19:11",
"text": "Hello! How can I assist you today?",
"inversion": false,
"error": false,
"loading": false,
"conversationOptions": {
"parentMessageId": "chatcmpl-6uezMBioKSJc89GaPc0rlFewglPhW"
},
"requestOptions": {
"prompt": "hello",
"options": {}
}
}
]
}
]
},
"expire": null
}