Setup
Add TaskSupervisor
The dashboard requires
Arcana.TaskSupervisor for async operations:lib/my_app/application.ex
Options
Authentication
Protect the dashboard with your existing authentication:Pages
Documents
Route:/arcana/documents
- View documents - Browse all ingested documents with pagination
- View chunks - See how documents are chunked
- Ingest text - Paste content directly with format selection
- Upload files - Upload
.txt,.md, or.pdffiles - Filter by collection - View documents from specific collections
Ask
Route:/arcana/ask
- Simple mode - Basic RAG question answering
- Agentic mode - Full pipeline with query expansion, decomposition, and self-correction
- Collection selection - Choose which collections to search (or let the LLM select)
- Pipeline options - Toggle expand, decompose, rerank, and self-correct steps
Search
Route:/arcana/search
- Test queries - Try searches against your documents
- View results - See retrieved chunks with similarity scores and expandable details
- Compare modes - Test semantic, full-text, and hybrid search
- Filter by collection - Search within specific collections
Collections
Route:/arcana/collections
- View collections - Browse all collections with document counts
- Create collections - Add new collections with descriptions
- Edit collections - Update collection descriptions
- Delete collections - Remove empty collections
Evaluation
Route:/arcana/evaluation
- View test cases - See questions and their relevant chunks
- Run evaluations - Execute evaluation runs
- View metrics - See MRR, Precision, Recall scores
- Compare runs - Track changes over time
Maintenance
Route:/arcana/maintenance
- Rebuild embeddings - Re-embed all chunks (useful after model changes)
- Orphan cleanup - Find and remove chunks without parent documents
- Database operations - Maintenance tasks for the vector store
Info
Route:/arcana/info
- Configuration - View current Arcana settings
- Embedding model - See which model is in use
- Statistics - Document and chunk counts
Deployment
The dashboard uses Phoenix LiveView. Ensure your production configuration includes:config/runtime.exs
Assets
Dashboard assets (CSS, JS) are served inline - no build step required.Security Considerations
The dashboard provides full access to your Arcana data:Example: Admin-Only Access
Next Steps
Basic Usage
Learn how to ingest and search documents
Evaluation
Run evaluations from the dashboard
Agentic RAG
Test advanced pipelines in Ask mode
GraphRAG
Explore entities and relationships