Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ def respond(message,history):
|
|
| 50 |
# Return a custom response (for UI to act on)
|
| 51 |
return "Sure! Please click on the 'OBGYN Finder' tab above to get started. 🩺", history
|
| 52 |
#obgyn command, delete if it doesn't work
|
| 53 |
-
|
| 54 |
}]
|
| 55 |
if history:
|
| 56 |
messages.extend(history)
|
|
|
|
| 50 |
# Return a custom response (for UI to act on)
|
| 51 |
return "Sure! Please click on the 'OBGYN Finder' tab above to get started. 🩺", history
|
| 52 |
#obgyn command, delete if it doesn't work
|
| 53 |
+
messages = [{"role": "system" , "content": "Your name is BloomBot and you're a supportive and helpful chatbot catered towards teens ages 10-18. You give clear kid-appropiate explainations and keep your explainations to 10 sentences maximum."
|
| 54 |
}]
|
| 55 |
if history:
|
| 56 |
messages.extend(history)
|