When provided with text chunks and a query, recursively build a tree structure and return the root node as the result.
Pros: Beneficial for summarization tasks
Cons: Accuracy of answer might be lost during traversal of tree structure
Prompt
Context information from multiple sources is below.
---------------------
{context}
---------------------
Given the information from multiple sources and not prior knowledge, answer the query.
Query: {query}
Answer: