graphrag-cli 0.1.0

Modern Terminal User Interface (TUI) for GraphRAG operations
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
# πŸš€ Guida Completa a GraphRAG-CLI (Italiano)

**GraphRAG-CLI** Γ¨ un'interfaccia utente terminale (TUI) moderna e interattiva per operazioni GraphRAG, costruita con Ratatui.

## πŸ“‹ Indice

- [Installazione e Build]#installazione-e-build
- [Avvio Rapido]#avvio-rapido
- [ModalitΓ  di Utilizzo]#modalitΓ -di-utilizzo
- [Comandi Slash]#comandi-slash
- [Gestione Workspace]#gestione-workspace
- [Scorciatoie da Tastiera]#scorciatoie-da-tastiera
- [Esempi Pratici]#esempi-pratici
- [Risoluzione Problemi]#risoluzione-problemi

---

## πŸ”§ Installazione e Build

### Prerequisiti
- Rust 1.70 o superiore
- Ollama installato e in esecuzione (per i modelli LLM)

### Compilazione

```bash
# Dalla directory principale del progetto
cargo build --release -p graphrag-cli

# Il binario sarΓ  disponibile in:
# ./target/release/graphrag-cli
```

### Aggiungere al PATH (opzionale)

```bash
# Linux/macOS
export PATH="$PATH:/home/dio/graphrag-rs/target/release"

# Oppure creare un link simbolico
sudo ln -s /home/dio/graphrag-rs/target/release/graphrag-cli /usr/local/bin/graphrag-cli
```

---

## ⚑ Avvio Rapido

### 1. Avviare la TUI Interattiva

```bash
# Avvio base
./target/release/graphrag-cli

# Con file di configurazione
./target/release/graphrag-cli --config docs-example/symposium_config.toml

# Con workspace specifico
./target/release/graphrag-cli --workspace my_project

# Con logging debug
./target/release/graphrag-cli --debug
```

### 2. Primo Utilizzo - Setup Iniziale

1. **Avvia la TUI:**
   ```bash
   ./target/release/graphrag-cli
   ```

2. **Carica una configurazione:**
   Nella TUI, premi `Shift+Tab` per entrare in modalitΓ  comando, poi digita:
   ```
   /config docs-example/symposium_config.toml
   ```

3. **Carica un documento:**
   ```
   /load docs-example/platos_symposium.txt
   ```

4. **Esegui query:**
   Torna in modalitΓ  Query (premi `Shift+Tab`) e digita:
   ```
   What does Socrates say about love?
   ```

---

## 🎯 Modalità di Utilizzo

GraphRAG-CLI ha **due modalitΓ  principali**:

### πŸ“ Query Mode (ModalitΓ  Query)
- **Scopo:** Eseguire query sul knowledge graph
- **Come usarla:** Digita direttamente la tua domanda
- **Esempio:** `What are the main themes in the Symposium?`

### βš™οΈ Command Mode (ModalitΓ  Comando)
- **Scopo:** Eseguire comandi di sistema (slash commands)
- **Come usarla:** Premi `Shift+Tab` per passare da Query Mode
- **Esempio:** `/config myfile.toml`

**Passare tra modalitΓ :** `Shift+Tab`

---

## πŸ”€ Comandi Slash

I comandi slash sono disponibili solo in **Command Mode**.

### `/config <file>`
Carica un file di configurazione GraphRAG (TOML o JSON5)

```bash
# Esempio con TOML
/config docs-example/symposium_config.toml

# Esempio con percorso assoluto
/config /home/dio/graphrag-rs/my_config.toml

# Esempio con percorso relativo
/config ../config/templates/academic_research.toml
```

**Cosa fa:**
- Carica la configurazione LLM (Ollama, OpenAI, etc.)
- Configura embeddings e chunking strategy
- Inizializza il knowledge graph

---

### `/load <file>`
Carica e processa un documento nel knowledge graph

```bash
# Carica un file di testo
/load docs-example/platos_symposium.txt

# Carica un file markdown
/load ~/documents/research_paper.md

# Carica piΓΉ documenti (esegui piΓΉ volte)
/load document1.txt
/load document2.txt
/load document3.txt
```

**Cosa fa:**
1. Legge il documento
2. Divide in chunks (basato su config)
3. Estrae entitΓ  e relazioni
4. Costruisce il knowledge graph
5. Genera embeddings

**Tempo di elaborazione:** Dipende dalla dimensione del documento (10-60 secondi per 10KB)

---

### `/stats`
Mostra statistiche del knowledge graph

```bash
/stats
```

**Output:**
```
Knowledge Graph Statistics:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

πŸ“š Documents:      3
πŸ“„ Chunks:         127
πŸ‘€ Entities:       45
πŸ”— Relationships:  89
πŸ“Š Graph Density:  0.087
```

---

### `/entities [filter]`
Lista le entitΓ  nel knowledge graph con filtro opzionale

```bash
# Lista tutte le entitΓ 
/entities

# Filtra per nome
/entities socrates

# Filtra per tipo
/entities PERSON

# Filtra per concetto
/entities love
```

**Output:**
```
Entities (filtered: "socrates"):
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

πŸ‘€ Socrates [PERSON]
   Mentions: 34
   Confidence: 0.95
   Description: Greek philosopher, student of Plato...

πŸ’‘ Socratic Method [CONCEPT]
   Mentions: 12
   Confidence: 0.89
   Description: Method of inquiry through questioning...
```

---

### `/workspace <name>`
Cambia workspace corrente

```bash
# Cambia workspace
/workspace my_project

# Cambia a workspace diverso
/workspace philosophy_research
```

**Cosa sono i workspace?**
- Directory separate per progetti diversi
- Ogni workspace ha il proprio knowledge graph
- Ogni workspace ha la propria storia delle query
- Permette di lavorare su piΓΉ progetti simultaneamente

---

### `/help`
Mostra l'elenco di tutti i comandi disponibili

```bash
/help
```

---

## πŸ—‚οΈ Gestione Workspace

I workspace permettono di organizzare progetti multipli separatamente.

### Comandi da Terminale

```bash
# Lista tutti i workspace
./target/release/graphrag-cli workspace list

# Crea nuovo workspace
./target/release/graphrag-cli workspace create philosophy_research

# Mostra informazioni su workspace
./target/release/graphrag-cli workspace info <workspace-id>

# Elimina workspace
./target/release/graphrag-cli workspace delete <workspace-id>
```

### Esempio: Creare e Usare un Workspace

```bash
# 1. Crea workspace
./target/release/graphrag-cli workspace create philosophy_research

# Output:
# βœ… Workspace created successfully!
#    Name: philosophy_research
#    ID:   a1b2c3d4-e5f6-7890-abcd-ef1234567890
#
# Use it with: graphrag-cli tui --workspace a1b2c3d4-e5f6-7890-abcd-ef1234567890

# 2. Avvia TUI con il workspace
./target/release/graphrag-cli --workspace a1b2c3d4-e5f6-7890-abcd-ef1234567890

# 3. Nella TUI, carica configurazione e documenti
# (modalitΓ  comando)
/config docs-example/symposium_config.toml
/load docs-example/platos_symposium.txt
```

### Percorsi dei Workspace

I workspace sono salvati in:
```
~/.local/share/graphrag-cli/workspaces/
└── <workspace-id>/
    β”œβ”€β”€ metadata.json          # Informazioni workspace
    β”œβ”€β”€ query_history.json     # Storia delle query
    β”œβ”€β”€ graph.db              # Knowledge graph (se persistente)
    └── embeddings/           # Vector embeddings
```

---

## ⌨️ Scorciatoie da Tastiera

### Navigazione Generale

| Tasto | Azione |
|-------|--------|
| `Shift+Tab` | Cambia modalitΓ  (Query ↔ Command) |
| `Ctrl+C` | Esci dall'applicazione |
| `?` | Mostra help overlay (in Query Mode) |
| `Esc` | Chiudi help overlay |

### ModalitΓ  Input

| Tasto | Azione |
|-------|--------|
| `Enter` | Esegui query/comando |
| `↑` / `↓` | Naviga storia query/comandi |
| `Ctrl+U` | Cancella linea input |
| `Ctrl+W` | Cancella parola precedente |

### Navigazione Risultati

| Tasto | Azione |
|-------|--------|
| `↑` / `↓` | Scroll risultati |
| `PgUp` / `PgDn` | Scroll veloce |
| `Home` / `End` | Inizio/fine risultati |

### ModalitΓ  Help (premendo `?`)

| Tasto | Azione |
|-------|--------|
| `Esc` | Chiudi help |
| `q` | Chiudi help |
| `↑` / `↓` | Scroll help |

---

## πŸ’‘ Esempi Pratici

### Esempio 1: Setup Filosofico (Simposio di Platone)

```bash
# 1. Avvia TUI
./target/release/graphrag-cli

# 2. In Command Mode (Shift+Tab)
/config docs-example/symposium_config.toml
/load docs-example/platos_symposium.txt

# 3. Aspetta elaborazione (30-60 secondi)

# 4. In Query Mode (Shift+Tab per tornare)
What does Socrates say about love?
Who are the main speakers in the Symposium?
Explain the myth of the androgyne
```

### Esempio 2: Analisi Multi-Documento

```bash
# 1. Avvia con configurazione
./target/release/graphrag-cli --config config/templates/academic_research.toml

# 2. Carica documenti multipli (Command Mode)
/load papers/paper1.txt
/load papers/paper2.txt
/load papers/paper3.txt

# 3. Verifica statistiche
/stats

# 4. Query analitiche (Query Mode)
Compare the methodologies used in the three papers
What are the common themes across all documents?
List all authors mentioned
```

### Esempio 3: Ricerca Tecnica

```bash
# 1. Crea workspace dedicato
./target/release/graphrag-cli workspace create rust_docs

# 2. Avvia con workspace
./target/release/graphrag-cli --workspace <workspace-id> \
  --config config/templates/technical_documentation.toml

# 3. Carica documentazione
/load rust-docs/ownership.md
/load rust-docs/concurrency.md
/load rust-docs/async.md

# 4. Query tecniche
Explain Rust's ownership system
How does async/await work in Rust?
What are the main concurrency primitives?
```

### Esempio 4: Esplorazione EntitΓ 

```bash
# 1. Dopo aver caricato documenti
/entities

# 2. Filtra per tipo
/entities PERSON
/entities CONCEPT
/entities LOCATION

# 3. Cerca entitΓ  specifiche
/entities socrates
/entities love
/entities athens
```

---

## πŸ” Risoluzione Problemi

### Problema: "Configuration not loaded"

**Sintomi:** Non riesci a caricare documenti o eseguire query

**Soluzione:**
```bash
# 1. Assicurati di caricare prima la configurazione
/config path/to/config.toml

# 2. Verifica che il file esista
ls -la path/to/config.toml

# 3. Verifica sintassi TOML
cat path/to/config.toml
```

---

### Problema: "Failed to connect to Ollama"

**Sintomi:** Errori durante caricamento documenti o query

**Soluzione:**
```bash
# 1. Verifica che Ollama sia in esecuzione
ollama list

# 2. Avvia Ollama se necessario
ollama serve

# 3. Testa connessione
curl http://localhost:11434/api/tags

# 4. Verifica modello configurato sia disponibile
ollama list | grep qwen3
```

---

### Problema: "Document processing is slow"

**Sintomi:** Caricamento documenti impiega molto tempo

**Cause possibili:**
1. Documento molto grande
2. Chunking strategy aggressivo
3. Estrazione entitΓ  complessa
4. Modello LLM lento

**Soluzione:**
```toml
# Ottimizza config.toml

[text.chunking]
method = "semantic"  # PiΓΉ veloce di "hierarchical"
max_tokens = 500     # Ridurre per chunks piΓΉ veloci

[entity.extraction]
use_gleaning = false # Disabilita per velocitΓ 
max_iterations = 1   # Riduce iterazioni
```

---

### Problema: "TUI is corrupted/garbled"

**Sintomi:** Caratteri strani, layout corrotto

**Soluzione:**
```bash
# 1. Resetta terminale
reset

# 2. Verifica TERM variable
echo $TERM
# Dovrebbe essere: xterm-256color o simile

# 3. Imposta se necessario
export TERM=xterm-256color

# 4. Riavvia TUI
./target/release/graphrag-cli
```

---

### Problema: "Workspace not found"

**Sintomi:** Errore al caricamento workspace

**Soluzione:**
```bash
# 1. Lista workspace disponibili
./target/release/graphrag-cli workspace list

# 2. Crea nuovo workspace se necessario
./target/release/graphrag-cli workspace create my_project

# 3. Usa ID corretto
./target/release/graphrag-cli --workspace <id-corretto>
```

---

### Problema: "Out of memory"

**Sintomi:** Crash durante elaborazione documenti grandi

**Soluzione:**
```toml
# Riduci memoria usata in config.toml

[text.chunking]
max_tokens = 300  # Riduce dimensione chunks
overlap = 20      # Riduce overlap

[embeddings]
batch_size = 16   # Riduce batch per embeddings

[caching]
enabled = true    # Abilita caching per risparmiare RAM
max_size_mb = 100 # Limita dimensione cache
```

---

## πŸ“Š Configurazioni Consigliate

### Per Documenti Piccoli (<100KB)

```toml
[text.chunking]
method = "semantic"
max_tokens = 500
overlap = 50

[entity.extraction]
use_gleaning = true
max_iterations = 3
```

### Per Documenti Grandi (>1MB)

```toml
[text.chunking]
method = "simple"
max_tokens = 300
overlap = 20

[entity.extraction]
use_gleaning = false
max_iterations = 1

[caching]
enabled = true
max_size_mb = 500
```

### Per Performance Massime

```toml
[text.chunking]
method = "simple"
max_tokens = 400

[entity.extraction]
use_gleaning = false

[async_processing]
enabled = true
max_concurrent_operations = 8

[caching]
enabled = true
cache_embeddings = true
```

---

## πŸ“ Esempi di Configurazione

### Template Base (TOML)

```toml
# my_config.toml

[llm]
provider = "ollama"
model = "qwen3:8b"
temperature = 0.7
max_tokens = 2000

[embeddings]
provider = "ollama"
model = "nomic-embed-text"
dimensions = 768

[text.chunking]
method = "semantic"
max_tokens = 500
overlap = 50

[entity.extraction]
use_gleaning = true
max_iterations = 2

[graph]
enable_pagerank = true
pagerank_damping = 0.85

[storage]
type = "memory"
```

### Template Avanzato (JSON5)

```json5
// my_config.json5
{
  llm: {
    provider: "ollama",
    model: "qwen3:8b",
    temperature: 0.7,
    max_tokens: 2000,
  },

  embeddings: {
    provider: "ollama",
    model: "nomic-embed-text",
    dimensions: 768,
  },

  text: {
    chunking: {
      method: "hierarchical",
      max_tokens: 500,
      overlap: 50,
    },
  },

  entity: {
    extraction: {
      use_gleaning: true,
      max_iterations: 3,
      confidence_threshold: 0.7,
    },
  },

  graph: {
    enable_pagerank: true,
    enable_leiden: true,
  },

  caching: {
    enabled: true,
    max_size_mb: 200,
    cache_embeddings: true,
  },
}
```

---

## πŸŽ“ Tutorial Completo: Primo Progetto

Segui questo tutorial passo-passo per il tuo primo progetto GraphRAG:

### Step 1: Preparazione

```bash
# 1. Crea directory progetto
mkdir -p ~/graphrag-projects/philosophy
cd ~/graphrag-projects/philosophy

# 2. Crea file configurazione
cat > config.toml << 'EOF'
[llm]
provider = "ollama"
model = "qwen3:8b"
temperature = 0.7

[embeddings]
provider = "ollama"
model = "nomic-embed-text"

[text.chunking]
method = "semantic"
max_tokens = 500

[entity.extraction]
use_gleaning = true
max_iterations = 2
EOF

# 3. Prepara documenti
mkdir documents
# Copia i tuoi documenti in ./documents/
```

### Step 2: Avvio e Configurazione

```bash
# 1. Avvia GraphRAG-CLI
/home/dio/graphrag-rs/target/release/graphrag-cli

# 2. Nella TUI, passa a Command Mode
# Premi: Shift+Tab

# 3. Carica configurazione
/config ~/graphrag-projects/philosophy/config.toml

# 4. Verifica successo (dovrebbe apparire messaggio di conferma)
```

### Step 3: Caricamento Documenti

```bash
# In Command Mode, carica documenti uno alla volta
/load ~/graphrag-projects/philosophy/documents/doc1.txt

# Aspetta completamento (30-60 secondi)

/load ~/graphrag-projects/philosophy/documents/doc2.txt

# Ripeti per tutti i documenti
```

### Step 4: Esplorazione

```bash
# 1. Verifica statistiche
/stats

# 2. Esplora entitΓ 
/entities

# 3. Filtra entitΓ  per tipo
/entities PERSON
/entities CONCEPT
```

### Step 5: Query

```bash
# Passa a Query Mode
# Premi: Shift+Tab

# Esegui query analitiche
What are the main philosophical concepts discussed?

# Query su entitΓ  specifiche
Tell me about Socrates and his ideas

# Query comparative
Compare Plato's and Aristotle's views on reality

# Query tematiche
What are the main themes in these documents?
```

---

## πŸš€ Tips & Tricks

### 1. Usa Storia Query

- Premi `↑` / `↓` per navigare query precedenti
- Modifica e re-esegui query velocemente
- La storia Γ¨ persistente per workspace

### 2. Organizza per Progetti

```bash
# Crea workspace per ogni progetto
graphrag-cli workspace create project_A
graphrag-cli workspace create project_B
graphrag-cli workspace create project_C

# Passa rapidamente tra progetti
graphrag-cli --workspace <project_A_id>
```

### 3. Ottimizza Performance

```toml
# Abilita tutte le features di performance
[async_processing]
enabled = true
max_concurrent_operations = 8

[caching]
enabled = true
cache_embeddings = true

[parallel]
max_workers = 4
```

### 4. Debugging

```bash
# Avvia con debug logging
graphrag-cli --debug

# I log sono salvati in:
# Linux: ~/.local/share/graphrag-cli/logs/graphrag-cli.log
# Visualizza log in tempo reale:
tail -f ~/.local/share/graphrag-cli/logs/graphrag-cli.log
```

### 5. Batch Processing

```bash
# Usa script per caricare molti documenti
for file in documents/*.txt; do
  echo "/load $file"
done > commands.txt

# Poi esegui manualmente nella TUI
# (o integra con automazione futura)
```

---

## πŸ“š Risorse Aggiuntive

### Documentazione

- [GraphRAG-Core README]../graphrag-core/README.md
- [Configuration Guide]../CONFIGURATION_GUIDE.md
- [Architecture Documentation]../ARCHITECTURE.md

### Template di Configurazione

- `config/templates/academic_research.toml`
- `config/templates/technical_documentation.toml`
- `config/templates/narrative_fiction.toml`

### Esempi

- `examples/multi_document_pipeline.rs`
- `examples/symposium_real_search.rs`
- `docs-example/symposium_config.toml`

---

## 🀝 Contribuire

Hai trovato bug o vuoi contribuire? Apri una issue o pull request su:
https://github.com/yourusername/graphrag-rs

---

## πŸ“„ Licenza

MIT License - Vedi [LICENSE](../LICENSE) per dettagli

---

## 🎯 Quick Reference Card

```
╔════════════════════════════════════════════════════════════╗
β•‘              GraphRAG-CLI Quick Reference                  β•‘
╠════════════════════════════════════════════════════════════╣
β•‘ AVVIO                                                      β•‘
β•‘   graphrag-cli                      Avvia TUI              β•‘
β•‘   graphrag-cli --config FILE        Con configurazione     β•‘
β•‘   graphrag-cli --workspace ID       Con workspace          β•‘
β•‘                                                            β•‘
β•‘ MODALITΓ€                                                   β•‘
β•‘   Shift+Tab    Cambia Query ↔ Command Mode                β•‘
β•‘   ?            Mostra help (Query Mode)                    β•‘
β•‘   Ctrl+C       Esci                                        β•‘
β•‘                                                            β•‘
β•‘ COMANDI (Command Mode)                                     β•‘
β•‘   /config FILE      Carica configurazione                  β•‘
β•‘   /load FILE        Carica documento                       β•‘
β•‘   /stats            Mostra statistiche                     β•‘
β•‘   /entities [FILT]  Lista entitΓ  (con filtro opzionale)    β•‘
β•‘   /workspace NAME   Cambia workspace                       β•‘
β•‘   /help             Mostra tutti i comandi                 β•‘
β•‘                                                            β•‘
β•‘ WORKSPACE (da terminale)                                   β•‘
β•‘   workspace list         Lista workspace                   β•‘
β•‘   workspace create NAME  Crea workspace                    β•‘
β•‘   workspace info ID      Info workspace                    β•‘
β•‘   workspace delete ID    Elimina workspace                 β•‘
β•‘                                                            β•‘
β•‘ NAVIGAZIONE                                                β•‘
β•‘   ↑/↓         Naviga storia / scroll risultati             β•‘
β•‘   PgUp/PgDn   Scroll veloce                                β•‘
β•‘   Home/End    Inizio/fine risultati                        β•‘
β•‘   Ctrl+U      Cancella linea                               β•‘
β•‘   Ctrl+W      Cancella parola                              β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
```

---

**Buon GraphRAG-ing! πŸš€βœ¨**