CoolFace
Apppublic

majeedjak/aok-gesetze-rag

sourceHugging Faceupdated 8mo agoView on Hugging Face
0likes
App README

AOK Gesetze RAG - Semantic Search

Semantic search over German social insurance laws from the AOK Rechtsdatenbank.

API Endpoints

  • —POST /search — Semantic search
  • —GET /health — Health check
  • —GET /docs — Interactive API docs (Swagger)

Search Example

bash
curl -X POST https://YOUR_SPACE.hf.space/search \
  -H "Content-Type: application/json" \
  -d '{"query": "Wer gilt als Arbeitnehmer?", "top_k": 5}'

Setup

  1. 1.Create a new HF Space (Docker SDK)
  2. 2.Upload chunk JSON files to data/chunks/
  3. 3.The app auto-embeds and builds the FAISS index on first startup
  4. 4.Subsequent startups load the pre-built index from disk
majeedjak/aok-gesetze-rag · CoolFace