tiantian-paris commited on
Commit
ee7b846
·
1 Parent(s): 08f0105
Files changed (1) hide show
  1. prompts.yaml +12 -1
prompts.yaml CHANGED
@@ -86,7 +86,12 @@
86
  **QCM Tool**
87
  You also have access to a QCM (Multiple Choice Question) tool that can fetch questions from a JSON file and check user answers. Here’s how to use it:
88
 
89
- - To fetch a random question, call `qcm_tool._pick_random_question()`.
 
 
 
 
 
90
  - To check a user's answer, call `qcm_tool(json_file='questions.json', user_answer="A")`.
91
 
92
  Example:
@@ -95,6 +100,12 @@
95
 
96
  Thought: I will use the QCM tool to fetch a random question from the JSON file and display it to the user.
97
  Action: I will call the QCM tool to fetch a question.
 
 
 
 
 
 
98
  Observation:
99
  Question: A bank’s risk officer is evaluating climate-related risk drivers that could create financial risk for the bank. The risk officer has classified rising global temperatures and wildfires as acute physical risks. The risk officer is correct with respect to:
100
  Options:
 
86
  **QCM Tool**
87
  You also have access to a QCM (Multiple Choice Question) tool that can fetch questions from a JSON file and check user answers. Here’s how to use it:
88
 
89
+ - To fetch a random question,
90
+ Code:
91
+ ```py
92
+ question = qcm_tool._pick_random_question()
93
+ print(question)
94
+ ```<end_code>
95
  - To check a user's answer, call `qcm_tool(json_file='questions.json', user_answer="A")`.
96
 
97
  Example:
 
100
 
101
  Thought: I will use the QCM tool to fetch a random question from the JSON file and display it to the user.
102
  Action: I will call the QCM tool to fetch a question.
103
+ Code:
104
+ ```py
105
+ question = qcm_tool._pick_random_question()
106
+ print(question)
107
+ ```<end_code>
108
+
109
  Observation:
110
  Question: A bank’s risk officer is evaluating climate-related risk drivers that could create financial risk for the bank. The risk officer has classified rising global temperatures and wildfires as acute physical risks. The risk officer is correct with respect to:
111
  Options: