ChatGPT Conversation Exporter Plus

优雅导出 ChatGPT 对话记录,支持 JSON 和 Markdown 格式。Elegantly export ChatGPT conversation records, supporting JSON and Markdown formats.

Tekijä
Douglas J. Day
Päivittäiset asennukset
1
Asennuskerrat
9
Arvostelut
0 0 0
Versio
2.2.3
Luotu
17.11.2024
Päivitetty
21.11.2024
Lisenssi
Custom License
Käytössä

ChatGPT 会话导出增强版

ChatGPT Conversation Exporter Plus

描述 | Description

ChatGPT Conversation Exporter Plus 是一款功能强大且易于使用的会话导出工具,旨在帮助用户优雅地导出 ChatGPT 的对话记录。无论您是需要归档重要的交流内容,还是想与他人分享特定的对话,本脚本都能为您提供便捷的导出功能。

该工具支持导出为 JSONMarkdown 格式。JSON 格式适合后续的数据处理和分析,而 Markdown 格式非常适合以易读的方式展示和分享。通过该工具,用户可以轻松生成结构化且格式化的对话记录文件,既节省时间又保持记录的完整性和一致性。

除了基本的导出功能外,该脚本还采用了一些智能化处理方式,如对时间戳的格式化转换和对话内容的优化呈现,确保导出的文件内容简洁且清晰。


ChatGPT Conversation Exporter Plus is a powerful and user-friendly conversation export tool designed to help users elegantly export ChatGPT conversation records. Whether you need to archive important communications or share specific conversations with others, this script provides convenient export functionality.

The tool supports exports in both JSON and Markdown formats. JSON format is suitable for subsequent data processing and analysis, while Markdown format is perfect for readable presentation and sharing. Through this tool, users can easily generate structured and formatted conversation records, saving time while maintaining the completeness and consistency of records.

In addition to basic export functionality, the script also employs intelligent processing methods, such as timestamp formatting and optimized conversation content presentation, ensuring exported file content is concise and clear.

功能特性 | Features

支持多种格式导出 | Multiple Export Formats

本脚本支持将会话记录导出为 JSONMarkdown 格式。JSON 格式的导出非常适合程序员或者需要进行数据挖掘的用户,而 Markdown 格式则能够以清晰、可读的方式进行呈现和交流,让您的对话记录更易于浏览和分享。

The script supports exporting conversation records in both JSON and Markdown formats. JSON export is ideal for programmers or users who need to perform data mining, while Markdown format presents content in a clear, readable way, making your conversation records easier to browse and share.

自动提取对话内容 | Automatic Content Extraction

脚本能够自动提取对话的关键内容,并对导出的数据进行清理和格式化。它会智能过滤掉对话中的一些多余标记和信息,例如系统生成的内容引用、内嵌的冗余标识符等,使得导出内容更加简洁易读。

The script automatically extracts key conversation content and cleans and formats the exported data. It intelligently filters out excess markers and information from conversations, such as system-generated content references and embedded redundant identifiers, making the exported content more concise and readable.

内置时间戳和模型信息 | Built-in Timestamps and Model Information

导出时,脚本会在对话内容中附上时间戳,以及对话时所使用的 AI 模型信息。这些附加信息非常有助于帮助用户在后续的参考过程中了解对话发生的具体时间和使用的模型版本,尤其是当您需要对不同模型的回答做比较时。

When exporting, the script includes timestamps and information about the AI model used in the conversation. This additional information helps users understand the specific time of conversations and model versions used in subsequent references, especially when comparing responses from different models.

用户友好的下载按钮 | User-Friendly Download Buttons

在页面加载后,脚本会在页面右侧自动生成两个下载按钮——一个用于下载 JSON,另一个用于下载 Markdown。用户只需点击按钮即可完成导出操作,无需繁琐的设置,整个过程快速且直观。此外,下载按钮具有悬停效果,界面美观易用。

After page loading, the script automatically generates two download buttons on the right side of the page—one for JSON and another for Markdown. Users can complete the export with just a click, without complicated settings. The process is quick and intuitive, with hover effects making the interface both attractive and user-friendly.

对话层次调整 | Conversation Hierarchy Adjustment

Markdown 导出时,脚本自动调整对话内容的标题级别,使不同层次的对话内容结构更加合理、易于阅读。无论是用户提问还是 AI 回答,内容都会以恰当的格式呈现,从而更好地适应 Markdown 的层次化阅读习惯。

When exporting to Markdown, the script automatically adjusts heading levels of conversation content, making the structure of different conversation layers more logical and readable. Both user questions and AI responses are presented in appropriate formats, better adapting to Markdown's hierarchical reading style.

使用方法 | Usage Instructions

1. 安装油猴脚本管理器 | Install Tampermonkey

要使用本脚本,首先您需要在浏览器中安装油猴(Tampermonkey)或其他兼容的用户脚本管理器。

To use this script, you first need to install Tampermonkey or another compatible userscript manager in your browser.

2. 安装脚本 | Install Script

安装完成油猴后,您可以将 ChatGPT Conversation Exporter Plus 脚本添加到您的脚本管理器中。

After installing Tampermonkey, you can add the ChatGPT Conversation Exporter Plus script to your script manager.

3. 与 ChatGPT 进行对话 | Converse with ChatGPT

访问 ChatGPT 网站,进行正常的对话。在对话过程中,您无需额外操作,脚本会自动监听对话的生成内容。

Visit the ChatGPT website and engage in normal conversation. The script will automatically monitor the generated content during the conversation.

4. 导出对话 | Export Conversation

当对话结束后,您会在页面右侧看到两个下载按钮。点击相应按钮即可导出为 JSON 或 Markdown 格式。

When the conversation ends, you'll see two download buttons on the right side of the page. Click the appropriate button to export in JSON or Markdown format.

5. 文件命名 | File Naming

导出时,脚本会自动为生成的文件命名,包含会话的标题和时间戳,确保每次保存的对话记录都是独一无二的。

When exporting, the script automatically names the generated files, including the conversation title and timestamp, ensuring each saved conversation record is unique.

6. Markdown 优化 | Markdown Optimization

如果您选择以 Markdown 格式导出,对话内容将以清晰的标题和分段来组织,方便后续查阅和使用。

If you choose to export in Markdown format, the conversation content will be organized with clear headings and paragraphs for easy reference and use.

注意事项 | Notes

用户相关内容 | User-Related Content

导出时无法包含用户上传的非文本文件。

Non-text files uploaded by users cannot be included in the export.

GPT 生成内容 | GPT-Generated Content

GPT 生成的下载链接和图片无法导出。 Canvas 内容(如 GPT 提供的文档)不会自动导出。 搜索功能中的引用链接不会保存。

Download links and images generated by GPT cannot be exported. Canvas content (such as documents provided by GPT) will not be automatically exported. Reference links in search functions will not be saved.

请根据以上内容手动添加,以确保导出记录的完整性。

Please add these manually to ensure the completeness of exported records.

作者 | Author

  • 作者 | Author: Gao + GPT-4 + Claude
  • 协作者和致谢 | Collaborators and Acknowledgments: 感谢 ChatGPT 和 Claude 提供的技术支持,使该工具具备高效、智能的对话提取和导出功能。

Thanks to ChatGPT and Claude for providing technical support, enabling this tool to have efficient and intelligent conversation extraction and export capabilities.