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%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-03-13 09:48:32 +01:00
.cursor/rules Update dependencies for @dcc-bs packages to latest versions, enhance document upload and update modals with improved file handling components, and implement localization for English and German languages. Remove deprecated i18n configuration file. 2025-07-31 13:09:45 +02:00
.github Update actions/checkout action to v6 (#54) 2025-11-27 08:34:29 +01:00
.vscode Fix biome conf 2025-07-07 14:57:02 +02:00
app Feature/improve UI (#39) 2025-10-28 16:44:40 +01:00
i18n/locales Feature/improve UI (#39) 2025-10-28 16:44:40 +01:00
public Feature/improve UI (#39) 2025-10-28 16:44:40 +01:00
server Feature/improve UI (#39) 2025-10-28 16:44:40 +01:00
static Fix css error and run bun check 2025-04-23 11:25:17 +02:00
.dockerignore First commit 2025-04-22 14:50:14 +02:00
.editorconfig First commit 2025-04-22 14:50:14 +02:00
.env.example Refactor environment variable names and update Nuxt configuration: rename FASTAPI_URL to API_URL in .env.example and nuxt.config.ts, and change i18n strategy to 'no_prefix' for improved localization handling. 2025-09-16 08:00:28 +02:00
.gitignore First commit 2025-04-22 14:50:14 +02:00
.npmrc First commit 2025-04-22 14:50:14 +02:00
biome.json Refactor chat-message component to improve message rendering and document handling. Introduce document tree view for better organization of documents. Enhance document upload and update modals with folder selection functionality. Update i18n configuration for new UI elements and error messages. 2025-07-24 17:46:48 +02:00
bun.lock Update dependency sass to v1.97.1 (#75) 2026-01-03 04:25:29 +00:00
codecov.yml First commit 2025-04-22 14:50:14 +02:00
Dockerfile Update nuxt version to 4.1.2 and adjust Dockerfile for non-root user execution 2025-10-29 08:19:34 +01:00
LICENSE First commit 2025-04-22 14:50:14 +02:00
nuxt.config.ts Feature/improve UI (#39) 2025-10-28 16:44:40 +01:00
package.json Update dependency sass to v1.97.1 (#75) 2026-01-03 04:25:29 +00:00
README.md Update README.md 2026-03-13 09:48:32 +01:00
renovate.json Add internal checks filter and minimum release age 2025-11-27 08:34:50 +01:00
tsconfig.json finish update to nuxt 4 2025-07-18 10:36:48 +02:00

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

Build & Test codecov

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

  1. Prepare your documents: Package multiple PDF files into a ZIP archive
  2. Upload the ZIP: Select the ZIP file in the upload modal
  3. Monitor progress: The system will extract and upload each PDF individually
  4. 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:

  1. Frontend detects ZIP files and uses the bulk upload endpoint
  2. Server-side extraction using adm-zip library
  3. Each PDF is validated and uploaded individually to the backend
  4. Comprehensive error handling and progress reporting

Dependencies

  • Frontend: Vue.js, Nuxt.js, TypeScript
  • Backend Processing: Node.js with adm-zip for ZIP extraction
  • Authentication: Nuxt Auth for session management
  • UI: Nuxt UI components with Tailwind CSS