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

Score and return only documents provided #114

Merged
merged 6 commits into from
Dec 14, 2021
Merged

Conversation

jvwong
Copy link
Member

@jvwong jvwong commented Dec 14, 2021

I introduced a client parameter use_docs (default =False) which instructs the service to return only uids provided in the documents. When True, this renders top_k dispensable.

Refs #61

@jvwong jvwong requested a review from JohnGiorgi December 14, 2021 01:17
@JohnGiorgi
Copy link
Collaborator

JohnGiorgi commented Dec 14, 2021

Looks good, I would maybe update the README and/or this docstring so this new parameter is documented somewhere.

@jvwong
Copy link
Member Author

jvwong commented Dec 14, 2021

Looks good, I would maybe update the README and/or this docstring so this new parameter is documented somewhere.

OK will do

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@JohnGiorgi
Copy link
Collaborator

Suggested changes for two nitpicks but otherwise LGTM.

jvwong and others added 2 commits December 14, 2021 12:58
Co-authored-by: John Giorgi <[email protected]>
Co-authored-by: John Giorgi <[email protected]>
@jvwong jvwong merged commit f5bec52 into main Dec 14, 2021
@jvwong jvwong deleted the iss61_restrict-to-documents branch December 14, 2021 19:37
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