From 978a1c0108bfbdc9c03912496594748b66f4f180 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Fr=C3=B6hlich?= Date: Wed, 29 Apr 2026 10:19:58 +0200 Subject: [PATCH] =?UTF-8?q?Architekturbild=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- architektur/ocr_rag_pipeline.svg | 94 ++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 architektur/ocr_rag_pipeline.svg diff --git a/architektur/ocr_rag_pipeline.svg b/architektur/ocr_rag_pipeline.svg new file mode 100644 index 0000000..5d028d5 --- /dev/null +++ b/architektur/ocr_rag_pipeline.svg @@ -0,0 +1,94 @@ + + OCR → RAG Ingestion Pipeline + Flowchart vom Datei-Input über OCR und Chunking bis zur Vektordatenbank + + + + + + + + + + Input: Datei / Ordner / Upload + + + + + + + + + Typ-Erkennung (Dispatcher) + .pdf .png .jpg .tif .docx .md .txt + + + + + + + + + Bild/Scan + PDF + Text + + + + + OCR + Tesseract / EasyOCR + + + + + + PDF-Extraktion + pypdf + OCR Fallback + + + + + + Text-Lesen + md / txt / docx + + + + + + + + + + + Text-Cleaning & Normalisierung + Whitespace, OCR-Artefakte, Sprache + + + + + + + + Chunking (token-basiert) + 500 Tokens, 50 Overlap (wie bisher) + + + + + + + + Embedding + multilingual-e5-small (wie bisher) + + + + + + + + pgvector (wie bisher) + + \ No newline at end of file