-
Notifications
You must be signed in to change notification settings - Fork 45
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
Add HybridCypherRetriever, refactors Retriever directory, refactor query construction #22
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.
The new naming definitely sounds better :)
I feel like we are missing some e2e tests, was this already discussed/planned?
b612f0b
to
d2b5e72
Compare
@stellasia It's not planned atm. I think we can work on that but it will be outside the scope of this PR |
5d01573
to
9cca2a3
Compare
9cca2a3
to
5a7e139
Compare
7ab5cbf
to
e04c078
Compare
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.
LGTM 🚋
Summary
retrievers/
that has the vector and hybrid retrievers in their respective filesHybridCypherRetriever
that is similar toHybridRetriever
but requires an additional retrieval queryget_search_query
that constructs the Cypher query based on itsSearchType
. Inspired by this code in langchain.HybridCypherRetriever
HybridCypherRetriever
get_search_query