88 lines
2.8 KiB
Markdown
88 lines
2.8 KiB
Markdown
# Export to Excel
|
|
|
|
<span class="category-badge action">Action</span>
|
|
<span class="version-badge">v0.3.7</span>
|
|
|
|
Export chat conversations to Excel spreadsheet format for analysis, archiving, and sharing.
|
|
|
|
|
|
### What's New in v0.3.6
|
|
- **OpenWebUI-Style Theme**: Modern dark header with light gray zebra striping for better readability.
|
|
- **Zebra Striping**: Alternating row colors for improved visual scanning.
|
|
- **Smart Data Type Conversion**: Automatically converts columns to numeric or datetime types.
|
|
- **Full Cell Bold/Italic**: Supports Markdown bold/italic formatting in Excel.
|
|
- **Partial Markdown Cleanup**: Removes partial Markdown symbols for cleaner output.
|
|
- **Export Scope**: Choose between "Last Message" or "All Messages".
|
|
- **Smart Sheet Naming**: Names sheets based on Markdown headers or message index.
|
|
- **Smart Filename Generation**: Generates filenames based on Chat Title, AI Summary, or Markdown Headers.
|
|
- **AI Title Generation**: Supports using a specific model (`MODEL_ID`) for title generation with progress notifications.
|
|
|
|
---
|
|
|
|
|
|
## Overview
|
|
|
|
The Export to Excel plugin allows you to download your chat conversations as Excel files. This is useful for:
|
|
|
|
- Archiving important conversations
|
|
- Analyzing chat data
|
|
- Sharing conversations with colleagues
|
|
- Creating documentation from AI-assisted research
|
|
|
|
## Features
|
|
|
|
- :material-file-excel: **Excel Export**: Standard `.xlsx` format
|
|
- :material-table: **Formatted Output**: Clean table structure
|
|
- :material-download: **One-Click Download**: Instant file generation
|
|
- :material-history: **Full History**: Exports complete conversation
|
|
|
|
## Configuration
|
|
|
|
- **Title Source**: Choose how the filename is generated:
|
|
- `chat_title`: Use the chat title (default).
|
|
- `ai_generated`: Use AI to generate a concise title from the content.
|
|
- `markdown_title`: Extract the first H1/H2 header from the markdown content.
|
|
|
|
---
|
|
|
|
## Installation
|
|
|
|
1. Download the plugin file: [`export_to_excel.py`](https://github.com/Fu-Jie/openwebui-extensions/tree/main/plugins/actions/export_to_excel)
|
|
2. Upload to OpenWebUI: **Admin Panel** → **Settings** → **Functions**
|
|
3. Enable the plugin
|
|
|
|
---
|
|
|
|
## Usage
|
|
|
|
1. Have a conversation you want to export
|
|
2. Click the **Export** button in the message action bar
|
|
3. The Excel file will be automatically downloaded
|
|
|
|
---
|
|
|
|
## Output Format
|
|
|
|
The exported Excel file contains:
|
|
|
|
| Column | Description |
|
|
|--------|-------------|
|
|
| Timestamp | When the message was sent |
|
|
| Role | User or Assistant |
|
|
| Content | The message text |
|
|
| Model | The AI model used (for assistant messages) |
|
|
|
|
---
|
|
|
|
## Requirements
|
|
|
|
!!! note "Prerequisites"
|
|
- OpenWebUI v0.3.0 or later
|
|
- No additional Python packages required (uses built-in libraries)
|
|
|
|
---
|
|
|
|
## Source Code
|
|
|
|
[:fontawesome-brands-github: View on GitHub](https://github.com/Fu-Jie/openwebui-extensions/tree/main/plugins/actions/export_to_excel){ .md-button }
|