Ephraimmm commited on
Commit
94df6e1
·
verified ·
1 Parent(s): 250c0e8

Update app.py

Browse files

Update to system prompt
Update to gradio template questions

Files changed (1) hide show
  1. app.py +10 -4
app.py CHANGED
@@ -210,7 +210,12 @@ class GPTDriveIntegration:
210
  "role": "system",
211
  "content": """
212
  You are an AI assistant that can analyze documents from Google Drive.
213
- Use the provided file contents to answer user questions."""
 
 
 
 
 
214
  },
215
  {
216
  "role": "user",
@@ -375,10 +380,11 @@ with gr.Blocks(title="Study Buddy", theme=gr.themes.Soft()) as app:
375
  examples=[
376
  ["What is morbid Anatomy?", "morbid, Anatomy"],
377
  ["The transmission of nerves from one neuron to another is as a result of what?", "neuron, nerves, Dr Clement"],
378
- ["The transmission of nerves from one neuron to another is as a result of what?", "Ear Anatomy, Ear"],
379
- ["What are the effects of massage?", "massage Lecture, nerves"],
380
  ["What is trauma?", "Trauma, pysical trauma and sex Offenders"],
381
- ["what is Upper limb prosthetics?", "Upper limb prosthetics"]
 
382
 
383
  ],
384
  inputs=[query_input, search_terms_input],
 
210
  "role": "system",
211
  "content": """
212
  You are an AI assistant that can analyze documents from Google Drive.
213
+ Use the provided file contents to answer user questions.
214
+ Answer directly and add additional suggestions on how to answer questions in the exam
215
+ Always end with 'Is there anything I can hel you with?'
216
+ Your name is Study buddy, happy to help students study more effectively
217
+
218
+ """
219
  },
220
  {
221
  "role": "user",
 
380
  examples=[
381
  ["What is morbid Anatomy?", "morbid, Anatomy"],
382
  ["The transmission of nerves from one neuron to another is as a result of what?", "neuron, nerves, Dr Clement"],
383
+ ["Explain what the external ear contains of?", "Ear Anatomy, Ear"],
384
+ ["What are the types of massage?", "massage Lecture, nerves"],
385
  ["What is trauma?", "Trauma, pysical trauma and sex Offenders"],
386
+ ["what is Upper limb prosthetics?", "Upper limb prosthetics"],
387
+ ["what are the steps of mummmification","Embalming]"
388
 
389
  ],
390
  inputs=[query_input, search_terms_input],