-
Notifications
You must be signed in to change notification settings - Fork 2
Release 0.15.5 #447
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
Release 0.15.5 #447
Conversation
Deploying pephub-ui with
|
| Latest commit: |
8436347
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f0429841.pephub.pages.dev |
| Branch Preview URL: | https://dev.pephub.pages.dev |
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.
Pull request overview
This PR adds hybrid search functionality combining dense, sparse, and exact match retrieval methods to improve search quality in PEPHub. The implementation uses Qdrant's reciprocal rank fusion (RRF) to blend results from multiple search strategies.
Key changes:
- Added sparse search capability using SPLADE encoder alongside existing dense embeddings
- Implemented hybrid query strategy with prefetch and fusion for improved search relevance
- Removed configurable collection_name parameter, now hardcoded to default
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| pephub/routers/models.py | Removed collection_name field from SearchQuery model |
| pephub/routers/api/v1/search.py | Implemented hybrid search with dense, sparse, and exact match retrieval using RRF fusion |
| pephub/dependencies.py | Added sparse encoder model initialization and dependency injection function |
| pephub/const.py | Updated model constants, replacing DEFAULT_HF_MODEL with separate dense and sparse encoder models |
| pephub/_version.py | Bumped version from 0.15.4 to 0.15.5 |
Comments suppressed due to low confidence (3)
pephub/routers/api/v1/search.py:48
- The parameter name "model_sparce" contains a spelling error. It should be "model_sparse" (with an 's' instead of 'c').
return agent.namespace.get(limit=limit, query=query or "", offset=offset)
pephub/routers/api/v1/search.py:68
- The variable "model_sparce" contains a spelling error. It should be "model_sparse" (with an 's' instead of 'c').
pephub/routers/api/v1/search.py:69 - The variable "model_sparce" contains a spelling error. It should be "model_sparse" (with an 's' instead of 'c').
# get namespaces:
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Changes:
TODO:
__version__.pyfile