Nugh75 commited on
Commit
f622cac
·
1 Parent(s): 080146c

Struttura.md

Browse files
Files changed (2) hide show
  1. Structure.md +68 -0
  2. Structure.txt +0 -8
Structure.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ # Struttura dell'Applicazione EduRag Beta
3
+
4
+ ## Diagramma dell'Architettura
5
+ ```mermaid
6
+ graph TD
7
+ A[app.py - Main Application] --> B[UI Layer]
8
+ A --> C[App Layer]
9
+ A --> D[Config Layer]
10
+
11
+ B --> B1[chatbot_tab.py]
12
+ B --> B2[db_management_tab.py]
13
+ B --> B3[document_management_tab.py]
14
+ B --> B4[info_tab.py]
15
+
16
+ C --> C1[llm_handling.py]
17
+ C --> C2[document_handling.py]
18
+ C --> C3[database_handling.py]
19
+ C --> C4[logging_config.py]
20
+
21
+ D --> D1[config.py]
22
+ D --> D2[prompts.py]
23
+
24
+ C1 --> E1[embedding_utils]
25
+ C1 --> E2[voice_utils]
26
+
27
+ C2 --> F1[FAISS Vectorstore]
28
+ C2 --> F2[File Processing]
29
+
30
+ D1 --> G1[LLM Configs]
31
+ D1 --> G2[Embedding Configs]
32
+ D1 --> G3[Voice Configs]
33
+ ```
34
+
35
+ ## Componenti Principali
36
+
37
+ ### 1. UI Layer
38
+ - chatbot_tab.py: Interfaccia principale del chatbot
39
+ - db_management_tab.py: Gestione database
40
+ - document_management_tab.py: Gestione documenti
41
+ - info_tab.py: Informazioni sul sistema
42
+
43
+ ### 2. App Layer
44
+ - llm_handling.py: Gestione LLM e embeddings
45
+ - document_handling.py: Processamento documenti
46
+ - database_handling.py: Gestione database FAISS
47
+ - logging_config.py: Configurazione logging
48
+
49
+ ### 3. Config Layer
50
+ - config.py: Configurazioni generali
51
+ - prompts.py: Template dei prompt
52
+
53
+ ### 4. Utilities
54
+ - embedding_utils: Gestione embeddings
55
+ - voice_utils: Generazione audio
56
+
57
+ ### 5. Storage
58
+ - FAISS Vectorstore
59
+ - File system per documenti
60
+ - Metadata in JSON
61
+
62
+ ## Caratteristiche Principali
63
+ - Struttura modulare
64
+ - Separazione delle responsabilità
65
+ - Facile manutenzione
66
+ - Scalabilità del sistema
67
+ - Gestione efficiente delle dipendenze
68
+ ```
Structure.txt DELETED
@@ -1,8 +0,0 @@
1
- .
2
- ├── app.py
3
- └── app
4
- ├── __init__.py
5
- ├── config.py
6
- ├── document_handling.py
7
- ├── llm_handling.py
8
- └── logging_config.py