Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -500,7 +500,7 @@ class AdaptiveMedicalBot:
|
|
500 |
logger.error(f"Error in medical context analysis: {e}")
|
501 |
return {'needs_follow_up': True}
|
502 |
|
503 |
-
|
504 |
"""Generate comprehensive triage response"""
|
505 |
try:
|
506 |
# Analyze medical context
|
|
|
500 |
logger.error(f"Error in medical context analysis: {e}")
|
501 |
return {'needs_follow_up': True}
|
502 |
|
503 |
+
def generate_adaptive_response(self, message: str, history: List[tuple] = None) -> Dict[str, Any]:
|
504 |
"""Generate comprehensive triage response"""
|
505 |
try:
|
506 |
# Analyze medical context
|