How itzqingyu/rag-project works
DASH is a desktop event-management and knowledge-support application. Users manage event stages and records, upload/search documents through chat, or extract meeting minutes for review and commit. The README documents additional dashboard capabilities whose individual implementations were not sampled; those are represented at their existing directory paths. Backend endpoint wiring is shown where supported by excerpts or the documented architecture.
Main entry points: main.py REST endpoints · App.tsx DASH workspace · apiClient.ts HTTP client · rag_engine.py Document retrieval
Components 20
Desktop interface
- DASH workspace
react/src/App.tsx - Event dashboard
react/src/components - Chat panel
react/src/components/ChatPanel.tsx - Extraction review
react/src/components/MeetingExtractPanel.tsx - Document manager
react/src/components/DocumentDrawer.tsx
HTTP client services
- Activity service
react/src/api/activityApi.ts - Chat service
react/src/api/chatService.ts - Document service
react/src/api/documentService.ts - Extraction service
react/src/api/meetingExtractService.ts - HTTP client
react/src/api/apiClient.ts
Backend workflows
- REST endpoints
python/src/dash_backend/main.py - Event records
python/src/dash_backend/activity_services - Document retrieval
python/src/dash_backend/ai_services/rag_engine.py - Format conversion
python/src/dash_backend/document_processing/converter.py - LLM operations
python/src/dash_backend/ai_services/llm_service.py
Local data and models
- SQLite records
python/src/dash_backend/database.py - Chroma vectors
python/src/dash_backend/database.py - Markdown repository
python/src/dash_backend/document_processing/converter.py
Other components
- Team member
- LLM provider
Connections 25
- Team member → DASH workspace: uses
- DASH workspace → Event dashboard: shows
- DASH workspace → Chat panel: shows
- DASH workspace → Extraction review: shows
- DASH workspace → Document manager: shows
- Event dashboard → Activity service: requests records
- Chat panel → Chat service: sends messages
- Document manager → Document service: manages files
- Extraction review → Extraction service: extracts and commits
- Activity service → HTTP client: calls
- Chat service → HTTP client: calls
- Document service → HTTP client: calls
- Extraction service → HTTP client: calls
- HTTP client → REST endpoints: HTTP requests
- REST endpoints → Event records: dispatches records
- Event records → SQLite records: reads and writes
- REST endpoints → Format conversion: converts uploads
- Format conversion → Markdown repository: writes Markdown
- REST endpoints → Document retrieval: indexes and searches
- Document retrieval → Markdown repository: reads documents
- Document retrieval → Chroma vectors: stores and retrieves chunks
- Document retrieval → SQLite records: manages document records
- REST endpoints → LLM operations: requests chat or extraction
- LLM operations → LLM provider: calls model
- REST endpoints → SQLite records: stores chat and metadata