Skip to content
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

feat(reranker): Add flashrank and contextual compression retriever #2480

Merged
merged 3 commits into from
Apr 24, 2024

Conversation

StanGirard
Copy link
Collaborator

This pull request adds the flashrank and contextual compression retriever to the codebase. The flashrank reranker model is used for compression, and the contextual compression retriever combines the base compressor and base retriever to improve document retrieval.

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Apr 23, 2024
Copy link

vercel bot commented Apr 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
quivrapp ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 5:40pm

@dosubot dosubot bot added the area: backend Related to backend functionality or under the /backend directory label Apr 23, 2024
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Apr 24, 2024
@StanGirard StanGirard merged commit f656dbc into main Apr 24, 2024
4 checks passed
@StanGirard StanGirard deleted the feat/reranker branch April 24, 2024 17:44
StanGirard added a commit that referenced this pull request Apr 25, 2024
🤖 I have created a release *beep* *boop*
---


## 0.0.237 (2024-04-24)

## What's Changed
* docs: Add environment variables, increase user usage, and add new
models by @StanGirard in #2481
* fix(frontend): Warning for Quivr Assistants by @Zewed in
#2479
* fix(frontend): better UI for Onboarding by @Zewed in
#2477
* docs: add new configuration items by @StanGirard in
#2483
* Revert "fix(frontend): better UI for Onboarding" by @StanGirard in
#2485
* feat(reranker): Add flashrank and contextual compression retriever by
@StanGirard in #2480
* feat(history): max tokens in the history provided by @StanGirard in
#2487
* feat: Update chunk overlap to 200 by @StanGirard in
#2488
* docs: Add reranking configuration guide by @StanGirard in
#2489
* docs: Update telemetry configuration in Quivr by @StanGirard in
#2490


**Full Changelog**:
v0.0.236...v0.0.237

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: backend Related to backend functionality or under the /backend directory size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant