mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-05 18:38:17 -05:00
[PR #6661] [CLOSED] **feat**: ability to download answers in table format as an Excel or CSV file #21931
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/6661
Author: @mafzaal
Created: 11/2/2024
Status: ❌ Closed
Base:
dev← Head:export-markdown-table📝 Commits (4)
07ca341A 'Download CSV' button is appended to response messages actions if response content contains Markdown tables, enabling easy export of data as CSV files.dd448fafeat: Add filename generation task for Markdown table-based downloadsb942cfeIntroduce settings for filename auto-generation (toggle) and introduce admin configuration options for filename generation prompt template89b80d7Removed error import📊 Changes
11 files changed (+346 additions, -5 deletions)
View changed files
📝
backend/open_webui/config.py(+7 -0)📝
backend/open_webui/constants.py(+1 -0)📝
backend/open_webui/main.py(+83 -0)📝
backend/open_webui/utils/task.py(+18 -0)📝
src/lib/apis/index.ts(+40 -0)📝
src/lib/components/admin/Settings/Interface.svelte(+15 -0)📝
src/lib/components/chat/Messages/Markdown.svelte(+11 -2)📝
src/lib/components/chat/Messages/ResponseMessage.svelte(+86 -3)📝
src/lib/components/chat/Settings/Interface.svelte(+28 -0)📝
src/lib/i18n/locales/en-US/translation.json(+7 -0)➕
src/lib/utils/converters/index.ts(+50 -0)📄 Description
This PR is for feat: ability to download answers in table format as an Excel or CSV file
Changelog Entry
Description
Added functionality to download CSV files when response contents contain markdown tables. Introduce auto-generation of file names with optional admin customization.
Added
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.