-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathARCHITECTURE.txt
More file actions
45 lines (43 loc) · 3.53 KB
/
ARCHITECTURE.txt
File metadata and controls
45 lines (43 loc) · 3.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
NoteSpaceLLM/
├── main.py # Startpunkt
├── setup.py # Setup-Skript
├── run.bat # Windows-Starter
├── requirements.txt # Abhängigkeiten
├── README.md # Dokumentation
├── src/
│ ├── core/ # Kernfunktionalität
│ │ ├── document_manager.py # Dokumentenverwaltung (Drag&Drop, Selektion)
│ │ ├── text_extractor.py # Text aus PDF/DOCX/Excel/etc.
│ │ ├── sub_query.py # Detailrecherchen pro Dokument
│ │ └── project.py # Projektverwaltung, Profile
│ ├── gui/ # PySide6 Benutzeroberfläche
│ │ ├── main_window.py # Hauptfenster
│ │ ├── document_panel.py # Drag&Drop, Kontextmenü
│ │ ├── workflow_panel.py # Workflow-Visualisierung
│ │ ├── chat_panel.py # LLM-Chat über Dokumente
│ │ └── output_panel.py # Vorschau & Export
│ ├── llm/ # Multi-LLM Integration
│ │ ├── ollama_client.py # Lokal via Ollama
│ │ ├── openai_client.py # OpenAI API
│ │ └── anthropic_client.py # Claude API
│ └── reports/ # Berichterstellung
│ ├── generator.py # Pipeline-Orchestrierung
│ ├── templates.py # Berichtsvorlagen (6 Typen)
│ └── exporter.py # MD/PDF/DOCX/HTML/TXT Export
└── [data, workflows, profiles, output, assets]/
┌─────────────────────────────────────────────────────────────────┐
│ RAG-ARCHITEKTUR │
├─────────────────────────────────────────────────────────────────┤
│ │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
│ │ Dokument │────▶│ Splitter │────▶│ Embeddings │ │
│ │ (PDF,DOCX) │ │ (1000 chars │ │ nomic-embed │ │
│ └──────────────┘ │ overlap=200)│ └──────────────┘ │
│ └──────────────┘ │ │
│ ▼ │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
│ │ Antwort │◀────│ LangChain │◀────│ ChromaDB │ │
│ │ + Quellen │ │ Ollama LLM │ │ Vector Store │ │
│ └──────────────┘ └──────────────┘ └──────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────┘