Find answers from the community

Updated 2 months ago

Querying

Hi all, I am having trouble using the SubQuestionQueryEngine to perform multi-document queries. This is my scenario: I have constructed a query engine using multiple documents, let's say documents A and B. I then ask the query engine to retrieve some information from document A, then use the output from A as input for a second query on document B. This is like using chains in Langchain. The SubQuestionQueryEngine does well in retrieving relevant data from A or B, but doesn't use the output from A in the second query on B. Any suggestions? Thanks in advance.
L
n
2 comments
Thank you for the quick response, Logan, I will give it a shot.
Add a reply
Sign up and join the conversation on Discord