How to Dynamically set Top_k Value #3113
Unanswered
amalsankar2022
asked this question in
Questions
Replies: 1 comment 4 replies
-
Hi @amalsankar2022 , That seems odd. For the top_k=10 case does the process dies quietly or it keeps running but without any output? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hai team,
I am working on a questionnaire application using haystack. I am facing an issue in some cases when the top_k value is 10 for pipe.run (pipe.run(query="xxxxxxxxxxxxxx?", params={"Retriever": {"top_k": 10}, "Reader": {"top_k": 10}})) .it run infinitely .No time out and not getting an answer. For the same case I assign top_K values to 2 .Then I got an answer . How can I choose the correct top k value without getting an infinite timeout?
Beta Was this translation helpful? Give feedback.
All reactions