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 last year
0
Follow
Sub question
Sub question
Inactive
0
Follow
H
Hardrion
last year
Β·
I got this code from a youtube and it works just fine but when i try to use sub question query it causes an error and i do not know why
Attachments
L
H
6 comments
Share
Open in Discord
L
Logan M
last year
The sub question query engine relies on the LLM being able to write json that we can parse.
However, open source LLMs usually suck at this
L
Logan M
last year
The query wrapper prompt is also incorrect for llama2-chat
L
Logan M
last year
Should be something like
"<s> [INST] {query_str} [/INST] "
H
Hardrion
last year
So in order to use the sub question query is either i use models from openai or find other open source models that can write json?
L
Logan M
last year
Correct -- one could also use just openai for the question generator, and another LLM for everything else
H
Hardrion
last year
Thank you.
Add a reply
Sign up and join the conversation on Discord
Join on Discord