mirror of
https://github.com/DCC-BS/rag-frontend.git
synced 2026-08-26 10:24:29 +00:00
Read-only mirror of https://github.com/DCC-BS/rag-frontend — Basel-Stadt. Issues & pull requests at the source.
- Vue 68.1%
- TypeScript 30.1%
- CSS 1.5%
- Dockerfile 0.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .cursor/rules | ||
| .github | ||
| .vscode | ||
| app | ||
| i18n/locales | ||
| public | ||
| server | ||
| static | ||
| .dockerignore | ||
| .editorconfig | ||
| .env.example | ||
| .gitignore | ||
| .npmrc | ||
| biome.json | ||
| bun.lock | ||
| codecov.yml | ||
| Dockerfile | ||
| LICENSE | ||
| nuxt.config.ts | ||
| package.json | ||
| README.md | ||
| renovate.json | ||
| tsconfig.json | ||
Archived
We no longer work on this project. This project is not ready for production. We do not recommend to use this RAG implementation.
rag-frontend
RAG Frontend
A modern Vue.js/Nuxt.js frontend for document management and RAG (Retrieval-Augmented Generation) functionality.
Features
Document Upload
- Single PDF Upload: Upload individual PDF documents
- Bulk ZIP Upload: Upload multiple PDF files at once by packaging them in a ZIP archive
- Automatically extracts and processes each PDF file in the ZIP
- Provides detailed feedback on upload success/failure for each file
- Supports nested folders within ZIP archives
- Validates each file to ensure it's a valid PDF
Document Management
- View, download, and manage uploaded documents
- Access control with role-based permissions
- Document metadata and search functionality
Bulk Upload Usage
- Prepare your documents: Package multiple PDF files into a ZIP archive
- Upload the ZIP: Select the ZIP file in the upload modal
- Monitor progress: The system will extract and upload each PDF individually
- Review results: Get detailed feedback on successful uploads and any failures
Supported File Types
- PDF: Individual PDF documents
- ZIP: Archives containing multiple PDF files
Technical Implementation
The bulk upload feature works by:
- Frontend detects ZIP files and uses the bulk upload endpoint
- Server-side extraction using
adm-ziplibrary - Each PDF is validated and uploaded individually to the backend
- Comprehensive error handling and progress reporting
Dependencies
- Frontend: Vue.js, Nuxt.js, TypeScript
- Backend Processing: Node.js with
adm-zipfor ZIP extraction - Authentication: Nuxt Auth for session management
- UI: Nuxt UI components with Tailwind CSS