added new prompt to topic relevance#121
Conversation
📝 WalkthroughWalkthroughThis PR introduces two versions of scope classifier prompts for evaluating WhatsApp bot message relevance against configured topic restrictions. Both prompts use a 3-point scoring rubric and include instructions to evaluate messages against forbidden and allowed topics while ignoring override attempts. ChangesTopic Scope Classification
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
Summary
Target issue is #122.
Explain the motivation for making this change. What existing problem does the pull request solve?
Added two prompts for topic relevance -
Checklist
Before submitting a pull request, please ensure that you mark these task.
fastapi run --reload app/main.pyordocker compose upin the repository root and test.Notes
Please add here if any other information is required for the reviewer.
Summary by CodeRabbit
New Features
Chores