deep-searcher icon indicating copy to clipboard operation
deep-searcher copied to clipboard

What parameters can I use to limit the number and number of sub-questions?

Open JPHu3312 opened this issue 1 year ago • 2 comments

I just want to know, how can I use follow parameters to limit the sub-queries?

query_settings:
  max_iter: 5

load_settings:
  chunk_size: 1500
  chunk_overlap: 100

And what limits the number of sub-questions each time, is it automatically generated by LLM? The max_iter is the maximum number of rotations, beyond this number, will the results be summarized directly?

Could you please provide a detailed parameter description so that I can customize the configuration?

JPHu3312 avatar Mar 20 '25 05:03 JPHu3312

@JPHu3312 sub_question number currently is hard coded in the prompt, currently you have to modify the prompt to adapt your need . It is a good suggestion, we will consider to add the sub-query number setting to expose to the users.

zc277584121 avatar Mar 20 '25 10:03 zc277584121