Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 3 months ago
0
Follow
Is there a way to set number of maximum
Is there a way to set number of maximum
Inactive
0
Follow
V
Vladimir Doubochinski
last year
Β·
Is there a way to set number of maximum generated sub questions when using SubQuestionQueryEngine?
E
3 comments
Share
Open in Discord
E
Emanuel Ferreira
last year
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
E
Emanuel Ferreira
last year
Or can open a PR makin the question gen prompt customizable
E
Emanuel Ferreira
last year
https://github.com/run-llama/llama_index/blob/main/llama_index/question_gen/openai_generator.py#L18-L45
Add a reply
Sign up and join the conversation on Discord
Join on Discord