joefarrington commited on
Commit
c6c395b
·
1 Parent(s): 098920e

Reformat example message with role and content

Browse files
Files changed (1) hide show
  1. app.py +8 -4
app.py CHANGED
@@ -21,11 +21,15 @@ for accurate and up-to-date information.
21
  """
22
 
23
  examples = [
24
- {"text": "When can I take a module on medical statistics?"},
25
- {"text": "What are the prerequisites for taking Supervised Learning?"},
26
  {
27
- "text": "What is the difference between the two modules on Trauma for \
28
- paediatric dentistry?"
 
 
 
 
 
29
  },
30
  ]
31
 
 
21
  """
22
 
23
  examples = [
24
+ {"role": "user", "content": "When can I take a module on medical statistics?"},
 
25
  {
26
+ "role": "user",
27
+ "content": "What are the prerequisites for taking Supervised Learning?",
28
+ },
29
+ {
30
+ "role": "user",
31
+ "content": "What is the difference between the two modules on Trauma for \
32
+ paediatric dentistry?",
33
  },
34
  ]
35