-
Notifications
You must be signed in to change notification settings - Fork 34.1k
feat(Vector Store Retriever Node): Add reranker support to retriever for QA chain #16051
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(Vector Store Retriever Node): Add reranker support to retriever for QA chain #16051
Conversation
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.
cubic found 12 issues across 5 files. Review them in cubic.dev
React with 👍 or 👎 to teach cubic. Tag @cubic-dev-ai
to give specific feedback.
...nodes-langchain/nodes/retrievers/RetrieverVectorStore/test/RetrieverVectorStore.node.test.ts
Show resolved
Hide resolved
...nodes-langchain/nodes/retrievers/RetrieverVectorStore/test/RetrieverVectorStore.node.test.ts
Show resolved
Hide resolved
...nodes-langchain/nodes/retrievers/RetrieverVectorStore/test/RetrieverVectorStore.node.test.ts
Show resolved
Hide resolved
...nodes-langchain/nodes/retrievers/RetrieverVectorStore/test/RetrieverVectorStore.node.test.ts
Show resolved
Hide resolved
...es-langchain/nodes/vector_store/shared/createVectorStoreNode/operations/retrieveOperation.ts
Show resolved
Hide resolved
...des/vector_store/shared/createVectorStoreNode/operations/__tests__/retrieveOperation.test.ts
Show resolved
Hide resolved
...ages/@n8n/nodes-langchain/nodes/retrievers/RetrieverVectorStore/RetrieverVectorStore.node.ts
Show resolved
Hide resolved
...ages/@n8n/nodes-langchain/nodes/retrievers/RetrieverVectorStore/RetrieverVectorStore.node.ts
Show resolved
Hide resolved
...ages/@n8n/nodes-langchain/nodes/retrievers/RetrieverVectorStore/RetrieverVectorStore.node.ts
Show resolved
Hide resolved
...ages/@n8n/nodes-langchain/nodes/retrievers/RetrieverVectorStore/RetrieverVectorStore.node.ts
Show resolved
Hide resolved
9cf7b0f
to
6445d1b
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
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.
Looks good! 🚀
✅ All Cypress E2E specs passed |
n8n
|
Project |
n8n
|
Branch Review |
master
|
Run status |
|
Run duration | 04m 12s |
Commit |
|
Committer | Benjamin Schroth |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
0
|
|
10
|
|
0
|
|
503
|
View all changes introduced in this branch ↗︎ |
Got released with |
Summary
This PR adds support for rerankers in the retrieve operation of vector stores that's used by QA chain nodes.
Changes in retrieve operation:
Changes in Vector Store Retriever Node:
Related Linear tickets, Github issues, and Community forum posts
https://linear.app/n8n/issue/AI-1019/add-reranker-support-to-retrieverqa-chain
Review / Merge checklist
release/backport
(if the PR is an urgent fix that needs to be backported)