feat(router): Implement Layer 1 Intent Router & ProjectService Integration#2992
feat(router): Implement Layer 1 Intent Router & ProjectService Integration#2992APT-KK wants to merge 15 commits intoOWASP:feature/nestbot-ai-assistantfrom
Conversation
…ization by categorizing keywords into Entities and Actions.
layer2: implement ProjectService and DTOs
* Fixed location sharing on production * Update proxy/headers.conf --------- Co-authored-by: anurag2787 <anurag2787@gmail.com> Co-authored-by: Arkadii Yakovets <arkadii.yakovets@owasp.org>
…/Nest into feat/layer1-intent-router
…/Nest into temp-integration-test
|
Caution Review failedThe pull request is closed. Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings. WalkthroughImplements a multi-layer Intent Router and ProjectService integration for the Nestbot AI assistant. Adds Pydantic DTOs, a Redis-backed intent router using spaCy NLP classification, rate limiting, query orchestration, supporting Redis infrastructure, and diagnostic tests. A code defect exists with Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (12)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The PR must be linked to an issue assigned to the PR author. |
|
|
It seems check-issue workflow needs to be updated to handle non-default branches too. |




Proposed change
Resolves #2991
This PR implements the Layer 1 Intent Router by me and integrates it with the ProjectService (Layer 2) by @Ruddxxy to optimize query handling. The system classifies user queries as STATIC or DYNAMIC to reduce LLM load and latency for deterministic questions.
Key Implementations:
Technical Decision (ADR):
Verification: Run the new test suite:
python -m unittest backend/tests/test_router.py backend/tests/test_suite.pyChecklist
[x] Required: I read and followed the contributing guidelines
[x] Required: I ran make check-test locally and all tests passed
[x] I used AI for code, documentation, or tests in this PR