Files
Fu-Jie_openwebui-extensions/docs/plugins/actions/export-to-excel.zh.md
2025-12-30 01:22:29 +00:00

68 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Export to Excel导出到 Excel
<span class="category-badge action">Action</span>
<span class="version-badge">v1.0.0</span>
将聊天记录导出为 Excel 表格,便于分析、归档和分享。
---
## 概览
Export to Excel 插件可以把你的聊天记录下载为 Excel 文件,适用于:
- 归档重要对话
- 分析聊天数据
- 与同事共享对话内容
- 将 AI 辅助的研究整理成文档
## 功能特性
- :material-file-excel: **Excel 导出**:标准 `.xlsx` 格式
- :material-table: **格式化输出**:整洁的表格结构
- :material-download: **一键下载**:即时生成文件
- :material-history: **完整历史**:导出完整会话内容
---
## 安装
1. 下载插件文件:[`export_to_excel.py`](https://github.com/Fu-Jie/awesome-openwebui/tree/main/plugins/actions/export_to_excel)
2. 上传到 OpenWebUI**Admin Panel** → **Settings****Functions**
3. 启用插件
---
## 使用方法
1. 打开想要导出的对话
2. 点击消息操作栏中的 **Export** 按钮
3. Excel 文件会自动下载
---
## 导出格式
生成的 Excel 文件包含:
| 列 | 说明 |
|--------|-------------|
| Timestamp | 消息发送时间 |
| Role | 角色(用户 / 助手) |
| Content | 消息文本内容 |
| Model | 使用的模型(助手消息) |
---
## 运行要求
!!! note "前置条件"
- OpenWebUI v0.3.0 及以上
- 无需额外 Python 依赖(使用内置库)
---
## 源码
[:fontawesome-brands-github: 在 GitHub 查看](https://github.com/Fu-Jie/awesome-openwebui/tree/main/plugins/actions/export_to_excel){ .md-button }