WebUI User Guide
Youtu-RAG provides a lightweight WebUI interface supporting core features including file management, knowledge base management, and intelligent conversations.
Access URL
After starting the service, access the following URLs:
- 📱 Frontend Interface: http://localhost:8000
- 📊 Monitoring Dashboard: http://localhost:8000/monitor
1️⃣ File Management
1.1 File Upload and Preview
Steps
- Access the frontend interface at
http://localhost:8000 - Click "File Management" in the left sidebar
- Click the "Upload File" button
- Based on the file type and file management configuration, files will be processed through different paths and generate previewable content
Supported File Types
- PDF/Word/MD: Document files
- Excel: Spreadsheet data files
- IMAGE: Image files (PNG/JPG, etc.)
- Database: Database files
- Supports 12+ file formats
Demo Examples
File Upload Example | PDF File Preview After Processing |
PNG File Preview After Processing | HiChunk Parse Preview |
💡 Tip: For OCR and HiChunk configuration, refer to the Environment Variables Configuration Documentation
1.2 Batch File Management
Feature Description
When OCR and HiChunk configuration are enabled, the parsing stage of document upload will incur additional time consumption. It is recommended to use single file import for such files (batch import will result in longer waiting times).
Supported Batch Operations
- Batch Delete: Select multiple files for batch deletion
- Batch Upload: Upload multiple files at once (recommended for files of the same type)
- Batch Metadata Editing: Supports batch export, editing, and importing metadata
- File Search: Supports searching by file name, metadata, summary, etc.
Demo Examples
Batch File Delete and Upload | Batch File Metadata Editing | File Search |
2️⃣ Knowledge Base Management
2.1 Knowledge Base Creation and Deletion
Steps
- Access the frontend interface at
http://localhost:8000 - Click "Knowledge Base" in the left sidebar
- Click the "Create Knowledge Base" button
- Fill in the knowledge base name (e.g.,
Technical Documentation) - Click to confirm creation
Demo Examples
Knowledge Base Creation and Deletion | Knowledge Base Search |
2.2 Knowledge Base Content Association and Vectorization
Steps
- File Association: Associate uploaded files to the knowledge base
- Database Association: Associate local databases to the knowledge base
- Example Association: Associate example Q&A pairs to the knowledge base (as experience information)
💡 Important: After completing each association configuration, you need to click the "Save Association" button to save the association configuration and avoid losing previous selections
Association Types
- File Association: Supports associating multiple files simultaneously
- Database Association: Supports Sqlite and MySQL databases
- Example Association: Supports association of example Q&A pairs
Demo Examples
File Association | Database Association | Example Association |
Knowledge Base Configuration View | Knowledge Base Vectorization Build | Knowledge Base Association Editing |
3️⃣ Intelligent Conversations
3.1 Agent Selection and Usage
You can select configured Agents for conversations or Q&A for different tasks:
- Some Agents require selecting a knowledge base or file before use
- Provides a temporary file upload button, supports temporary file upload for Q&A, but the file will only be automatically associated with the current knowledge base and will not undergo vector construction
3.2 Memory Function
In the frontend conversation interface, turn on the "Memory" switch in the bottom right corner to enable the two-tier memory mechanism. After enabling memory, the Agent will have:
- Short-term Memory: Remembers conversation context to avoid repetitive questions
- Long-term Memory: Accumulates successful experiences and prioritizes reuse when encountering similar problems
3.3 Available Agent List
💬 Chat Agent
Features:
- Basic conversation Agent
- Recommended to enable "Memory" to support multi-turn conversations
🔍 Web Search Agent
Features:
- Supports web search
- Can access links to explore detailed content and answer
📚 KB Search Agent
Features:
- Must select a knowledge base
- Supports vector retrieval and reranking
📚 Meta Retrieval Agent
Features:
- Must select a knowledge base
- Supports vector retrieval and reranking
- Supports question intent parsing and metadata filtering
📄 File QA Agent
Features:
- Must select a knowledge base and a file
- Supports Python reading and processing file content
- Supports vector retrieval and reranking
📊 Excel Agent
Features:
- Must select a knowledge base and an Excel file
- Problem decomposition and data processing step decomposition
- Python code execution and reflection
💻 Text2SQL Agent
Features:
- Must select a knowledge base with associated database
- Problem decomposition and SQL code generation and execution
- SQL query result display and reflection
3.4 Memory Function Examples
🧠 Short-term and Long-term Memory
Features:
- Short-term memory: Effective within Session, used to support multi-turn conversations
- Long-term memory: Long-term effectiveness, used to accumulate successful experiences
🧐 Text2SQL Agent with Memory
Features:
- Short-term memory is effective within Session
- Long-term memory can avoid additional token consumption for similar problems
🎯 QA Learning
Features:
- Record QA examples
- Automatically learn Agent routing strategies
