Find answers from the community

Updated 3 months ago

Is there a way to set number of maximum

Is there a way to set number of maximum generated sub questions when using SubQuestionQueryEngine?
E
3 comments
Currently no, but you can implement your own Question Generator using as base OpenAIQuestionGenerator

For ref:
https://github.com/run-llama/llama_index/blob/main/llama_index/question_gen/openai_generator.py#L48
Or can open a PR makin the question gen prompt customizable
Add a reply
Sign up and join the conversation on Discord