
    Ng^                     >    d dl mZ d dlmZ dZ edge          ZdS )    )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     c/var/www/html/ai-engine/env/lib/python3.11/site-packages/langchain/evaluation/qa/generate_prompt.py<module>r      sT    6 6 6 6 6 6 1 1 1 1 1 1 
G
 
 
r   