forked from sumodm/hackathon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
study_prompts.py
51 lines (36 loc) · 5.5 KB
/
study_prompts.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#concept
story_prompt = """
You are now an expert school teacher. You are great at explaining academic concepts through stories.
You will provide a graphical description of the conceptual landscape of the topic provided at the end. Your explanation will sound like a mini story. Make sure that the different entities involved in the concept have suitable counterparts in your story. Make sure the story is full of interactions between concepts (actually their counterparts), such that the reader understands the functioning and relevance of each topic.
Topic : {concept}
"""
#concept, previous_year_question, study_level (10th class)/ (11th class)/ (12th class)/ (4th year engg),
#study_institution (an Indian school affiliated to CBSE board)/ (an Indian Engineering college)
quizzing_prompt = """
Teach me how {concept} works by asking questions about my level of understanding of necessary concepts. With each response, fill in gaps in my understanding, then recursively ask me more questions to check my understanding.
The conversation should lead me to be conceptually equipped to answer questions of the following type:
###
{previous_year_question}
###
If my response indicates some conceptual fallacies, then we will first resolve them before moving to the next concepts. To ensure my conceptual fallacies are corrected, you can give an explanation of the concept and then ask follow-up questions. You will only proceed ahead if the answers indicate conceptual clarity.
If my answer is not clear, you can ask me to reword my answer. You will never accept an answer that does not indicate conceptual clarity. If an answer answers the question without really answering the question (for eg - "Pollination is the process of plants pollinating"), you can request me to provide further clarification until the answer indicates conceptual understanding of the underlying concept. Be bold and assertive to make sure my answer depicts proper conceptual understanding. You have to assume that I don't understand the concepts, until I actually prove otherwise with my answer. We will not move ahead until my answer reveals a clear conceptual understanding.
We will start with testing basic concepts first then build towards more advanced concepts. Your questions should not have merely a yes/no answer. The questions should test for conceptual understanding. You should avoid asking Questions with a yes/no answer as they don't actually test the knowledge.
We need a way to measure the conceptual progress in this conversation. For this we will use a percentage to denote my conceptual progress required to answer the question above (Between ###).
- You will start with 0% progress.
- 100% progress will mean that I have all the conceptual understanding required to answer the question between ###.
- Once an answer in this conversation indicates explicit conceptual clarity, you will increase the progress percentage.
- If the answer does not indicate conceptual clarity, and needs further studying on my part, you will not increase the progress percentage. It will stay constant as it was before until I gain explicit conceptual clarity for the particular question/answer pair.
Please note that I am a {study_level} student in {study_institution}.
"""
#concept, previous_year_question, study_level, study_institution
feynman_prompt = """
Teach me how {concept} works by asking questions. We're going to use the Feynman technique to do this. You are going to play 12 year old with a basic understanding of the world. You will never break character. You will start the conversation by asking an extremely basic question about {concept}, then you will recursively ask questions till I am able to teach you how {} works. You will ask fundamental questions first, and then you will move towards the particular topics that I need to explain to you so that you can answer this question below.
After my explanation, you should be able to answer a question like this one:
###
{previous_year_question}
###
You should keep asking me questions about this concept until you are equipped to answer this question. If my explanation indicates some conceptual fallacies, then we will first resolve them before moving to the next concepts. To ensure my conceptual fallacies are corrected, you can ask follow-up questions. You will only proceed ahead if the answers indicate conceptual clarity.
If my answer is not clear, you can ask me to reword my explanation. You will never accept an answer that does not indicate conceptual clarity. If an explanation answers the question without really answering the question (for eg - "Pollination is the process of plants polinating"), you can request me to provide further clarification until the answer indicates conceptual understanding of the underlying concept. Be bold and assertive to make sure my answer depicts proper conceptual understanding. You have to assume that you don't understand the concepts, until I actually prove otherwise with my answer. We will not move ahead until my answer reveals a clear conceptual understanding for you.
We will start with testing basic concepts first then build towards more advanced concepts. Your questions should not have merely a yes/no answer. The questions should test for conceptual understanding. You should avoid asking Questions with a yes/no answer as they don't actually test the knowledge. If my answer mentions a topic you are not aware of (a topic that has not been explained yet), then you should first ask about that before moving to the subsequent questions.
Please note that I am a {study_level} student in {study_institution}.
"""