Commit 9a7f298
committed
Fix: Improve origin query detection and fix post-processing errors
- Add detection for 'công ty', 'team', 'nhóm' (company, team, group) in origin queries
- Add pattern matching for 'công ty nà o', 'team nà o', 'nhóm nà o' + 'đã tạo ra bạn'
- Add English pattern: 'which/what organization/company/team/group created you'
- Fix ValueError: too many values to unpack in should_rewrite() call (line 5943)
- Fix format string error in epistemic state logging (line 6265)
- All origin query patterns now properly trigger SYSTEM_ORIGIN_ANSWER1 parent cf64e93 commit 9a7f298
2 files changed
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5940 | 5940 | | |
5941 | 5941 | | |
5942 | 5942 | | |
5943 | | - | |
| 5943 | + | |
5944 | 5944 | | |
5945 | 5945 | | |
5946 | 5946 | | |
| |||
6262 | 6262 | | |
6263 | 6263 | | |
6264 | 6264 | | |
6265 | | - | |
| 6265 | + | |
| 6266 | + | |
6266 | 6267 | | |
6267 | 6268 | | |
6268 | 6269 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
480 | 484 | | |
481 | 485 | | |
482 | 486 | | |
| |||
488 | 492 | | |
489 | 493 | | |
490 | 494 | | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
491 | 505 | | |
492 | 506 | | |
493 | 507 | | |
| |||
0 commit comments