Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -312,7 +312,7 @@ Guidelines:
|
|
312 |
def _get_location(self, postcode):
|
313 |
return "London" if postcode.startswith("L") else "Manchester"
|
314 |
|
315 |
-
|
316 |
conversation = "\n".join([f"User: {user}\nAssistant: {bot}" for user, bot in history[-3:]])
|
317 |
context = self.get_medical_context(message)
|
318 |
|
|
|
312 |
def _get_location(self, postcode):
|
313 |
return "London" if postcode.startswith("L") else "Manchester"
|
314 |
|
315 |
+
def _build_prompt(self, message, history):
|
316 |
conversation = "\n".join([f"User: {user}\nAssistant: {bot}" for user, bot in history[-3:]])
|
317 |
context = self.get_medical_context(message)
|
318 |
|