
    Ah	                        S SK Jr  S SKJr  S SKJrJr  Sr\R                  " \5      r	Sr
\R                  " SSS\
4/5      r\" \	\\4/S	9rS
r\R                  " \5      rSr\R                  " S\4S/5      r\" \\\4/S	9rg)    )ChatPromptTemplate)PromptTemplate)ConditionalPromptSelectoris_chat_modela}  The original question is as follows: {question}
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_str}
------------
Given the new context, refine the original answer to better answer the question. If the context isn't useful, return the original answer.a  We have the opportunity to refine the existing answer (only if needed) with some more context below.
------------
{context_str}
------------
Given the new context, refine the original answer to better answer the question. If the context isn't useful, return the original answer.)humanz
{question})aiz{existing_answer}r   )default_promptconditionalszContext information is below. 
------------
{context_str}
------------
Given the context information and not prior knowledge, answer the question: {question}
zContext information is below.
------------
{context_str}
------------
Given the context information and not prior knowledge, answer any questionssystemN)langchain_core.prompts.chatr   langchain_core.prompts.promptr    langchain.chains.prompt_selectorr   r   DEFAULT_REFINE_PROMPT_TMPLfrom_templateDEFAULT_REFINE_PROMPTrefine_templatefrom_messagesCHAT_REFINE_PROMPTREFINE_PROMPT_SELECTORDEFAULT_TEXT_QA_PROMPT_TMPLDEFAULT_TEXT_QA_PROMPTchat_qa_prompt_templateCHAT_QUESTION_PROMPTQUESTION_PROMPT_SELECTOR     j/var/www/html/shao/venv/lib/python3.13/site-packages/langchain/chains/question_answering/refine_prompts.py<module>r      s    9 U	?  '445OP ?  (55#	/"  3( "456 (  (556QR   *77	*+  5) "678 r   