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

Add dummy retriever for benchmarking / reader-only settings #235

Merged
merged 9 commits into from
Jul 15, 2020

Conversation

tanaysoni
Copy link
Contributor

  • Naive "Retriever" that returns all documents that match the given filters. No impact of query at all. Helpful for benchmarking, testing and if you want to do QA on small documents without an "active" retriever.
  • Introducing a RETRIEVER_TYPE variable for configuring the rest API
  • Rename READER_USE_TRANSFORMERS to READER_TYPE in order to be more compliant in naming with the new RETRIEVER_TYPE. Instead of a boolean this is now a string with options "TransformersReader" or "FARMReader" (@guillim, please be aware of this change)

@tanaysoni tanaysoni merged commit 5c1a5fe into master Jul 15, 2020
@julian-risch julian-risch deleted the no_retriever branch November 15, 2021 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants