Commit 00d2f40
committed
fix: improve embeddings ranking with full query context
The embeddings ranking by symbols is now performed using the complete query
context including chat history, which provides more accurate results when
finding relevant code sections. Also improves references check in chat UI
using utils.empty helper.1 parent 83acff6 commit 00d2f40
2 files changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | 659 | | |
667 | 660 | | |
668 | 661 | | |
| |||
674 | 667 | | |
675 | 668 | | |
676 | 669 | | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| |||
0 commit comments