📋 Integrated Pipeline — One Click
Upload a document, click Start Processing, and the full pipeline runs automatically: 🔄 OCR: Ingestion → OCR (Tesseract) → Validation → Font → Unicode → AI Clean (Ollama) → Final Validation 🏷️ Metadata: Local LLM (Ollama) extracts title, summary, keywords, topic, region → validates → saves to database 📊 Dataset: Generates Knowledge, Instruction, Summary, Classification → exports as JSONL 🧠 RAG: Chunking (1000 chars, 200 overlap) → all-minilm embedding (384d) → pgvector storage
All progress is displayed in real-time below. Use the Chat interface for Q&A after processing.
🔗—✓ Copied
📥 Ingest Validates file format, size, and type🔍 OCR Tesseract OCR text extraction (mya+eng)✅ Valid Confidence score quality check🔤 Font Detects Unicode vs Zawgyi encoding🌐 Unicode Converts to standard Unicode🧹 LLM Local LLM (Qwen2.5:7b) error correction🏁 Final Overall quality assessment & pass/fail
📄 Upload Document
Select a Myanmar document image (PNG, JPG, TIFF) or PDF. Supported formats: PNG, JPG, JPEG, TIFF, TIF, PDF. Max file size: 50MB.
📤
Drop file here or browse
PDF · PNG · JPG · TIFF
—
——
After uploading, click "Start Processing" to run the full integrated pipeline: OCR (7 agents) → Metadata → Dataset → RAG (chunking + embedding). All progress is displayed in real-time. Total pipeline takes ~2-5 minutes.
—
🔄 Full Pipeline Progress
?—
Waiting for pipeline to start...
⏳OCR Pipeline
→
⏳Metadata
→
⏳Dataset
→
⏳RAG / Chunks
⚡ OpenClaw Pipeline Monitor
?—
7 agents run sequentially. Each dot shows current status. Duration per agent displayed in the table below.
⏳Initializing pipeline...
Agent
Duration
Status / Error
🔬 Detailed Pipeline Trace
?
Expand each step to see the actual text output at that stage of processing. Trace how text transforms from raw OCR through to cleaned output.
🏷️ Metadata Trace
?
Each metadata agent's input and output. Expand to see the extracted values and validation results.
📊 Validation Metrics
?
Overall quality assessment of the OCR output. Higher scores = better recognition quality.
—
OCR Confidence ?
—
Validation Score ?
—
Encoding ?
—
Status ?
📝 Extracted Text
?
View the text at each stage of processing. Switch between tabs to compare raw OCR, normalized Unicode, and LLM-cleaned output.
Waiting for OCR result...
Waiting for normalization...
Waiting for LLM cleaning...
🔄 Process Another
🏷️ Document Metadata
?
Metadata is generated using a local LLM (Qwen2.5:7b via Ollama) after OCR completes. Click "Generate Metadata" to analyze the document and extract structured information.
Type:?Topic:?Region:?Confidence:?
📊 Dataset Builder
?
Transform processed documents and metadata into structured datasets for fine-tuning LLMs, synthetic data generation, and knowledge management. Datasets are stored with versioning in PostgreSQL.
Dataset:
Type:Records:Version:Validation:
📚 Knowledge
0
Document archive records
💡 Instruction
0
Fine-tuning pairs
📝 Summary
0
Summarization training
🏷️ Classification
0
Label training data
📈 Dataset Dashboard
?↻ Refresh
Real-time statistics for all datasets generated by the Dataset Builder pipeline.
Phase 4 — RAG Pipeline: After OCR & Metadata complete, click "Ingest to RAG" to chunk the cleaned text, generate embeddings (Ollama all-minilm, 384d), and store in pgvector. Then use the Chat interface for semantic Q&A.
—
Total Chunks
—
Documents Indexed
—
Indexed / Completed
—
Embedding Model
—
— chunks for this document
🔍 Semantic Chunk Search
Enter a query to search across all indexed chunks using cosine similarity.
Select datasets to export as JSONL. Combine all selected datasets into a single file for training, or download individually. Compatible with ChatML format for fine-tuning.
—
Loading datasets...
Dataset Name
Type
Records
Status
Action
⚠️ Danger Zone
Permanently delete all documents, metadata, datasets, RAG chunks, chat history, and uploaded files.
This action cannot be undone.
🔍 Search Documents
?
Search through previously processed documents. Use filters to narrow results by topic, document type, or region. Results show metadata including title, type, and confidence score.
Enter a query and click Search.
📋 History Log
?↻ Refresh
Shows recent documents. Status indicators: completed ✅, processing ⏳, failed ❌. Click any row to view full OCR results and metadata.