Commit b7fe917
committed
fix: skill search ranking - use overview for embedding and fix visited set filtering
1. skill_processor.py: Use LLM-generated overview for vectorization
instead of short abstract, aligning with how resources handle
directory vectorization in semantic_processor.py.
2. hierarchical_retriever.py: Separate 'visited for traversal' from
'collected as result'. The visited set previously dropped the most
relevant results - global search found them first, marked visited,
then parent directory search skipped them as children.1 parent 68ed45b commit b7fe917
File tree
2 files changed
+18
-9
lines changed- openviking
- retrieve
- utils
2 files changed
+18
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
324 | 333 | | |
325 | 334 | | |
326 | 335 | | |
327 | 336 | | |
328 | 337 | | |
| 338 | + | |
| 339 | + | |
329 | 340 | | |
330 | 341 | | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
| 342 | + | |
| 343 | + | |
337 | 344 | | |
338 | 345 | | |
339 | 346 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | 77 | | |
80 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
0 commit comments