# initial query Q&A
query = "list MEP requirements and reference appropriate page numbers" #@param {type:"string"}
response = index.query(query, verbose=True, mode="embedding")
# attempt follow up Q&A
existing_answer = response.response
REFINE_PROMPT_TMPL = (
"Context information is below. \n"
"---------------------\n"
"{context_msg}"
"{existing_answer}"
"\n---------------------\n"
"Given the context information and not prior knowledge, "
"answer the question: {query_str}\n"
)
refine_prompt = RefinePrompt(REFINE_PROMPT_TMPL)
refined_index = GPTPineconeIndex('', pinecone_index=index, llm_predictor=llm_predictor, text_qa_template=refine_prompt)
@jerryjliu0 if that's the case, how does one pass in those template vars? is that part of the general **kwargs?