Spaces:
Running
Running
Commit
·
632981b
1
Parent(s):
5c59423
Fix role
Browse files
app.py
CHANGED
@@ -149,10 +149,12 @@ class RAGMedicalChatbot:
|
|
149 |
|
150 |
# ✅ Construct Prompt
|
151 |
prompt = f"""
|
|
|
|
|
152 |
Please format your answer using markdown.
|
153 |
**Bold for titles**, *italic for emphasis*, and clear headings.
|
154 |
|
155 |
-
**Medical knowledge:**
|
156 |
{knowledge_base}
|
157 |
|
158 |
**Question:** {user_query}
|
|
|
149 |
|
150 |
# ✅ Construct Prompt
|
151 |
prompt = f"""
|
152 |
+
You are a medical chatbot, designed to answer medical questions.
|
153 |
+
|
154 |
Please format your answer using markdown.
|
155 |
**Bold for titles**, *italic for emphasis*, and clear headings.
|
156 |
|
157 |
+
**Medical knowledge (trained with 256,916 data entries):**
|
158 |
{knowledge_base}
|
159 |
|
160 |
**Question:** {user_query}
|