Export Dataset
Export Dataset
Overview
Flow ID: export-dataset
Category: Dataset Management
Estimated Duration: 5-30 seconds
User Role: Admin / Data Hoarder
Complexity: Simple
Purpose: Download the entire knowledge base (all Q/A pairs and vectors) as a JSONL file. Useful for backups, migration, or manual inspection.
Trigger
What initiates this flow:
- User manually initiates
Specific trigger: Export button on Dataset Details or List view.
Step-by-Step Flow
Main Path (Happy Path)
Step 1: Initiate
- User Action: Click Export.
- System Response: “Preparing download…” (Server/Local process aggregates data).
Step 2: Download
- System Response: Browser prompts to save
.jsonlfile.
Step 3: Save
- User Action: Save to disk.
Pain Points & Friction
- Size: Datasets can be huge (GBs).
- Mitigation: Stream download if possible to avoid memory crash.
Technical References
src/utils/exporter.js