Spaces:
Sleeping
Sleeping
IZERE HIRWA Roger
commited on
Commit
·
b429bfa
1
Parent(s):
5d9430a
app.py
CHANGED
|
@@ -1002,6 +1002,14 @@ def admin_advanced_js_asset():
|
|
| 1002 |
def professional_advanced_js_asset():
|
| 1003 |
return send_from_directory(_CHATBOT_STATIC_DIR, 'professional_advanced.js')
|
| 1004 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1005 |
SYSTEM_PROMPT = """You are AIMHSA (AI Mental Health Support Assistant), a professional multilingual mental health chatbot specifically designed for Rwanda. You provide culturally-sensitive, evidence-based mental health support in four languages: English, French, Kiswahili, and Kinyarwanda.
|
| 1006 |
|
| 1007 |
## SCOPE BOUNDARIES - CRITICAL
|
|
|
|
| 1002 |
def professional_advanced_js_asset():
|
| 1003 |
return send_from_directory(_CHATBOT_STATIC_DIR, 'professional_advanced.js')
|
| 1004 |
|
| 1005 |
+
@app.route('/js/api.js')
|
| 1006 |
+
def js_api_js_asset():
|
| 1007 |
+
return send_from_directory(_CHATBOT_STATIC_DIR, 'js/api.js')
|
| 1008 |
+
|
| 1009 |
+
@app.route('/js/config.js')
|
| 1010 |
+
def js_config_js_asset():
|
| 1011 |
+
return send_from_directory(_CHATBOT_STATIC_DIR, 'js/config.js')
|
| 1012 |
+
|
| 1013 |
SYSTEM_PROMPT = """You are AIMHSA (AI Mental Health Support Assistant), a professional multilingual mental health chatbot specifically designed for Rwanda. You provide culturally-sensitive, evidence-based mental health support in four languages: English, French, Kiswahili, and Kinyarwanda.
|
| 1014 |
|
| 1015 |
## SCOPE BOUNDARIES - CRITICAL
|