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

changing the name of the retrievers from es_retriever to retriever #2487

Merged
merged 5 commits into from
May 3, 2022

Conversation

TuanaCelik
Copy link
Member

Quick fix for the variable names in the tutorials so that they are no longer 'es_retriever'

Status (please check what you already did):

  • First draft (up for discussions & feedback)
  • Final code
  • Added tests
  • Updated documentation

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Member

@julian-risch julian-risch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As some of the tutorials use multiple retrievers, for example, BM25Retriever and EmbeddingRetriever, we shouldn't call the variable just plain retriever. A better alternative is bm25_retriever or sparse_retriever. Tutorial 11 is definitely such a case but please check whether there is the same problem in the other tutorials.
And don't forget to put a label on every PR. I just did it now 🙂

Copy link
Member

@julian-risch julian-risch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@julian-risch julian-risch merged commit b6e369d into master May 3, 2022
@julian-risch julian-risch deleted the fixing-tutotials branch May 3, 2022 16:08
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.

None yet

2 participants