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

[BUG] Return wrong number of retrieved documents #59

Open
cheungdaven opened this issue Sep 11, 2024 · 1 comment
Open

[BUG] Return wrong number of retrieved documents #59

cheungdaven opened this issue Sep 11, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@cheungdaven
Copy link
Collaborator

when setting

  retriever_top_k: 3
  use_reranker: false
  reranker_top_k: 1

retrieve_context_for_query will only return 1 document, it is supposed to return 3 and discard the reranker_top_k param.

@cheungdaven cheungdaven added the bug Something isn't working label Sep 11, 2024
@shreyash2106
Copy link
Collaborator

I am not able to recreate this bug. I have set the config as you have, and I get three embeddings returned by the retriever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants