- Add ConfidenceCalculator class for confidence scoring - Implement retrieval insufficiency detection (hit count, score threshold, evidence tokens) - Implement confidence calculation based on retrieval scores - Implement shouldTransfer logic with configurable threshold - Add transferReason for low confidence scenarios - Add comprehensive unit tests (19 test cases) - Update config with confidence-related settings |
||
|---|---|---|
| .. | ||
| llm | ||
| retrieval | ||
| __init__.py | ||
| confidence.py | ||
| context.py | ||
| memory.py | ||
| orchestrator.py | ||