escaped curly braces in prompts {{}}
Browse files- config/system_prompt_texts.py +13 -13
config/system_prompt_texts.py
CHANGED
|
@@ -611,7 +611,7 @@ After lots of iterative prep and reasoning, considering a wide range of options,
|
|
| 611 |
"""
|
| 612 |
|
| 613 |
# The existing prompt in Course Generator webapp
|
| 614 |
-
template_write_fluster_b_text= """
|
| 615 |
You are given a learning objective. Based on this, you will create an exercise set of 3 exercises.
|
| 616 |
Follow the following protocol meticulously:
|
| 617 |
|
|
@@ -666,7 +666,7 @@ Creating variants prevents students from just recognizing the exercise and answe
|
|
| 666 |
Label a mcq with 'question' and end with a question mark. Example:
|
| 667 |
|
| 668 |
[
|
| 669 |
-
{
|
| 670 |
'question': 'Question: Which layer of the digestive tract has the myenteric neural plexus?',
|
| 671 |
'answer': 'Muscular layer'
|
| 672 |
'distractors': [
|
|
@@ -674,14 +674,14 @@ Label a mcq with 'question' and end with a question mark. Example:
|
|
| 674 |
'Submucosa',
|
| 675 |
'Serosa'
|
| 676 |
]
|
| 677 |
-
}
|
| 678 |
]
|
| 679 |
|
| 680 |
#### Multiple choice statement (mcs)
|
| 681 |
Create a statement with a fill in the blank. Use 'statement' instead of 'question' and end with a full stop. Use exactly 5 dots for the gap. Never have more than 1 gap. Example:
|
| 682 |
```json
|
| 683 |
[
|
| 684 |
-
{
|
| 685 |
'question': 'Statement: The ..... is the inner lining of the digestive tract. ',
|
| 686 |
'answer': 'Mucosa',
|
| 687 |
'distractors': [
|
|
@@ -689,7 +689,7 @@ Create a statement with a fill in the blank. Use 'statement' instead of 'questio
|
|
| 689 |
'Submucosa',
|
| 690 |
'Serosa'
|
| 691 |
]
|
| 692 |
-
}
|
| 693 |
]
|
| 694 |
```
|
| 695 |
##### Correct/incorrect exercise set variants
|
|
@@ -732,19 +732,19 @@ Keep statements/questions short and concise. Put extra context in the theory sec
|
|
| 732 |
|
| 733 |
Example: instead of
|
| 734 |
```json
|
| 735 |
-
{
|
| 736 |
'question': 'Statement: Between the liver and the anterior abdominal wall and diaphragm is the ..... ',
|
| 737 |
'answer': 'Falciform ligament ',
|
| 738 |
-
'distractors': {'Greater omentum', 'Lesser omentum', 'Mesentery proper'}
|
| 739 |
-
}
|
| 740 |
```
|
| 741 |
move some info to the theory for clarity:
|
| 742 |
```json
|
| 743 |
-
{
|
| 744 |
'question': 'Theory: A visceral mesentery connects the liver to the anterior abdominal wall and diaphragm.\nQuestion: Which mesentery is this? ',
|
| 745 |
'answer': 'Falciform ligament ',
|
| 746 |
-
'distractors': {'Greater omentum', 'Lesser omentum', 'Mesentery proper'}
|
| 747 |
-
}
|
| 748 |
```
|
| 749 |
### Answer options
|
| 750 |
#### Format and length
|
|
@@ -757,14 +757,14 @@ Select incorrect options that might seem true to someone who doesn't know the an
|
|
| 757 |
Use numbers only if relevant. For cut-off points, ensure incorrect answers are truly incorrect. Use terms like 'cut-off point' or 'lower/upper limit' for clarity.
|
| 758 |
For example:
|
| 759 |
```json
|
| 760 |
-
{
|
| 761 |
"question": "Statement: A systolic blood pressure less than 70 mmHg is considered hypotension.",
|
| 762 |
"answer": "This statement is incorrect",
|
| 763 |
"distractors": [
|
| 764 |
"This statement is correct"
|
| 765 |
],
|
| 766 |
"explanation": "It is considered hypotension from 90 mmHg."
|
| 767 |
-
}
|
| 768 |
```
|
| 769 |
The statement above is actually correct because less than 70 is also less than 90! What the writer intended to test was the cut-off point. You can solve this problem by explicitly using the terms 'cut-off point' or 'lower/upper limit' in the question
|
| 770 |
|
|
|
|
| 611 |
"""
|
| 612 |
|
| 613 |
# The existing prompt in Course Generator webapp
|
| 614 |
+
template_write_fluster_b_text = """
|
| 615 |
You are given a learning objective. Based on this, you will create an exercise set of 3 exercises.
|
| 616 |
Follow the following protocol meticulously:
|
| 617 |
|
|
|
|
| 666 |
Label a mcq with 'question' and end with a question mark. Example:
|
| 667 |
|
| 668 |
[
|
| 669 |
+
{{
|
| 670 |
'question': 'Question: Which layer of the digestive tract has the myenteric neural plexus?',
|
| 671 |
'answer': 'Muscular layer'
|
| 672 |
'distractors': [
|
|
|
|
| 674 |
'Submucosa',
|
| 675 |
'Serosa'
|
| 676 |
]
|
| 677 |
+
}}
|
| 678 |
]
|
| 679 |
|
| 680 |
#### Multiple choice statement (mcs)
|
| 681 |
Create a statement with a fill in the blank. Use 'statement' instead of 'question' and end with a full stop. Use exactly 5 dots for the gap. Never have more than 1 gap. Example:
|
| 682 |
```json
|
| 683 |
[
|
| 684 |
+
{{
|
| 685 |
'question': 'Statement: The ..... is the inner lining of the digestive tract. ',
|
| 686 |
'answer': 'Mucosa',
|
| 687 |
'distractors': [
|
|
|
|
| 689 |
'Submucosa',
|
| 690 |
'Serosa'
|
| 691 |
]
|
| 692 |
+
}}
|
| 693 |
]
|
| 694 |
```
|
| 695 |
##### Correct/incorrect exercise set variants
|
|
|
|
| 732 |
|
| 733 |
Example: instead of
|
| 734 |
```json
|
| 735 |
+
{{
|
| 736 |
'question': 'Statement: Between the liver and the anterior abdominal wall and diaphragm is the ..... ',
|
| 737 |
'answer': 'Falciform ligament ',
|
| 738 |
+
'distractors': {{'Greater omentum', 'Lesser omentum', 'Mesentery proper'}}
|
| 739 |
+
}}
|
| 740 |
```
|
| 741 |
move some info to the theory for clarity:
|
| 742 |
```json
|
| 743 |
+
{{
|
| 744 |
'question': 'Theory: A visceral mesentery connects the liver to the anterior abdominal wall and diaphragm.\nQuestion: Which mesentery is this? ',
|
| 745 |
'answer': 'Falciform ligament ',
|
| 746 |
+
'distractors': {{'Greater omentum', 'Lesser omentum', 'Mesentery proper'}}
|
| 747 |
+
}}
|
| 748 |
```
|
| 749 |
### Answer options
|
| 750 |
#### Format and length
|
|
|
|
| 757 |
Use numbers only if relevant. For cut-off points, ensure incorrect answers are truly incorrect. Use terms like 'cut-off point' or 'lower/upper limit' for clarity.
|
| 758 |
For example:
|
| 759 |
```json
|
| 760 |
+
{{
|
| 761 |
"question": "Statement: A systolic blood pressure less than 70 mmHg is considered hypotension.",
|
| 762 |
"answer": "This statement is incorrect",
|
| 763 |
"distractors": [
|
| 764 |
"This statement is correct"
|
| 765 |
],
|
| 766 |
"explanation": "It is considered hypotension from 90 mmHg."
|
| 767 |
+
}}
|
| 768 |
```
|
| 769 |
The statement above is actually correct because less than 70 is also less than 90! What the writer intended to test was the cut-off point. You can solve this problem by explicitly using the terms 'cut-off point' or 'lower/upper limit' in the question
|
| 770 |
|