-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprompts.py
More file actions
55 lines (38 loc) · 1.29 KB
/
prompts.py
File metadata and controls
55 lines (38 loc) · 1.29 KB
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
52
53
54
55
FREE_TEXT_QUESTIONS = """
Create exam questions based on the topic : {topic}
Lecture content:
{content}
Generate {num_questions} questions based on the content above, make sure they are relevant and challenging.
DO NOT INTRODUCE ANY QUESTIONS THAT ARE NOT BASED ON THE CONTENT ABOVE
THE GENERATED QUESTIONS SHOULD NOT ASK ABOUT RESEARCH PAPERS OR AUTHORS
NEVER PROVIDE AN ANSWER
The Output must be in the following format:
1. Question 1
2. Question 2
3. Question 3
...
...
"""
CODE_QUESTIONS = """
Create one exam question based on the topic : {topic}
Lecture content:
{content}
Generate a single coding question based on the content above, make sure it is relevant and challenging.
YOU MUST ALWAYS PROVIDE A CODE SNIPPET IN THE QUESTION AND ASK A QUESTION BASED ON IT
THE QUESTIONS SHOULD NOT REQUIRE ANY ACTUAL CODING, JUST UNDERSTANDING OF THE CODE
NEVER PROVIDE AN ANSWER
"""
MC_QUESTIONS = """
Create one exam question based on the topic : {topic}
Lecture content:
{content}
Generate a single multiple choice question based on the content above, make sure it is relevant and challenging.
THE QUESTION SHOULD HAVE 4 POSSIBLE ANSWERS, DO NOT PROVIDE MORE OR LESS, NO ANSWER SHOULD BE PROVIDED
NEVER PROVIDE IRRELEVANT OPTIONS
OUTPUT FORMAT:
### QUESTION
- Answer 1
- Answer 2
- Answer 3
- Answer 4
"""