I am specifically trying to understand what the synthesize step does once the query is answerd what's the next context ?
Also once both subquestion are answered what's the input into this synthesize prompt for query_str, context_msg, existing_answer
Prompt Key: response_synthesizer:refine_template
Text:
The original query is as follows: {query_str}
We have provided an existing answer: {existing_answer}
We have the opportunity to refine the existing answer (only if needed) with some more context below.
------------
{context_msg}
------------
Given the new context, refine the original answer to better answer the query. If the context isn't useful, return the original answer.
Refined Answer: