Skip to content

Commit 5071d32

Browse files
docs: documenta auto-derivazione nome collection dalla cartella indicizzata
1 parent 74370b5 commit 5071d32

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Use `--fix` to auto-install missing Python packages.
2727
### 2. Index Your Documentation
2828

2929
```bash
30-
python3 ragify.py index ./docs
30+
python3 ragify.py index ./docs # → collection "docs"
3131
```
3232

3333
Ragify will:
@@ -36,10 +36,19 @@ Ragify will:
3636
- Generate embeddings with Ollama
3737
- Store in Qdrant for fast retrieval
3838

39+
**Multiple collections**: The folder name becomes the collection name automatically. This allows you to organize content by topic and avoid bias in search results - querying a physics collection won't return unrelated math results:
40+
41+
```bash
42+
python3 ragify.py index ./physics # → collection "physics"
43+
python3 ragify.py index ./math # → collection "math"
44+
python3 ragify.py index ./docs --collection custom # → explicit name
45+
```
46+
3947
### 3. Query Your Docs
4048

4149
```bash
4250
python3 ragify.py query "how does authentication work?"
51+
python3 ragify.py query "integral calculus" --collection math
4352
```
4453

4554
**📖 Full documentation**: [docs/RAGIFY.md](docs/RAGIFY.md) | **⚡ Quick reference**: [docs/QUICK_GUIDE.md](docs/QUICK_GUIDE.md)

0 commit comments

Comments
 (0)