
    ih^                     6    d dl mZ d dlmZ dZ edge      Zy)    )RegexParser)PromptTemplatea  You are a teacher coming up with questions to ask on a quiz. 
Given the following document, please generate a question and answer based on that document.

Example Format:
<Begin Document>
...
<End Document>
QUESTION: question here
ANSWER: answer here

These questions should be detailed and be based explicitly on information in the document. Begin!

<Begin Document>
{doc}
<End Document>doc)input_variablestemplateN)langchain.output_parsers.regexr   langchain_core.promptsr   r   PROMPT     e/var/www/html/dev/engine/venv/lib/python3.12/site-packages/langchain/evaluation/qa/generate_prompt.py<module>r      s&    6 1 
G
r   