-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix/reranker_config #532
fix/reranker_config #532
Conversation
config was not being passed to reranker plugin
WalkthroughThe recent changes enhance the initialization of the Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- ovos_core/intent_services/commonqa_service.py (1 hunks)
Additional comments not posted (7)
ovos_core/intent_services/commonqa_service.py (7)
52-52
: Ensure proper handling of the configuration for the reranker plugin.The code changes correctly pass the configuration to the reranker plugin, enhancing its flexibility. Ensure that the configuration dictionary is correctly structured and contains the necessary settings for the reranker plugin.
Line range hint
34-39
:
LGTM!The
handle_skill_pong
method is consistent with the rest of the file.
Line range hint
41-53
:
LGTM!The
is_question_like
method is consistent with the rest of the file.
Line range hint
55-97
:
LGTM!The
match
method is consistent with the rest of the file.
Line range hint
99-136
:
LGTM!The
handle_question
method is consistent with the rest of the file.
Line range hint
138-193
:
LGTM!The
handle_query_response
method is consistent with the rest of the file.
Line range hint
195-261
:
LGTM!The
_query_timeout
method is consistent with the rest of the file.
example
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #532 +/- ##
=======================================
Coverage 75.37% 75.37%
=======================================
Files 15 15
Lines 3086 3086
=======================================
Hits 2326 2326
Misses 760 760
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
config was not being passed to reranker plugin
Summary by CodeRabbit
New Features
reranker
initialization with configuration options for improved performance.Bug Fixes
reranker
module through better configuration handling.