Prompts designed to be used to refine original answers during question answering chains using the refine method.
This is a description of the inputs that the prompt expects.
question: Original question to be answered.
existing_answer: Existing answer from previous documents.
context_str: New piece of context to use to refine the existing answer.
Below is a code snippet for how to use the prompt.
from langchain.prompts… See the full description on the dataset page:
https://huggingface.co/datasets/LangChainHub-Prompts/QA_Refine.