You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Use `--fix` to auto-install missing Python packages.
27
27
### 2. Index Your Documentation
28
28
29
29
```bash
30
-
python3 ragify.py index ./docs
30
+
python3 ragify.py index ./docs# → collection "docs"
31
31
```
32
32
33
33
Ragify will:
@@ -36,10 +36,19 @@ Ragify will:
36
36
- Generate embeddings with Ollama
37
37
- Store in Qdrant for fast retrieval
38
38
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
+
39
47
### 3. Query Your Docs
40
48
41
49
```bash
42
50
python3 ragify.py query "how does authentication work?"
51
+
python3 ragify.py query "integral calculus" --collection math
43
52
```
44
53
45
54
**📖 Full documentation**: [docs/RAGIFY.md](docs/RAGIFY.md) | **⚡ Quick reference**: [docs/QUICK_GUIDE.md](docs/QUICK_GUIDE.md)
0 commit comments