Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -216,9 +216,8 @@ class EnhancedLangChainRAGSystem:
|
|
| 216 |
|
| 217 |
Please tailor your response to match the user's experience level and preferences.
|
| 218 |
"""
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
return f"""You are an expert assistant for iCodeGuru, a programming education platform.
|
| 223 |
{user_context}
|
| 224 |
|
|
|
|
| 216 |
|
| 217 |
Please tailor your response to match the user's experience level and preferences.
|
| 218 |
"""
|
| 219 |
+
else:
|
| 220 |
+
user_context = "User profile not available. Provide general guidance."
|
|
|
|
| 221 |
return f"""You are an expert assistant for iCodeGuru, a programming education platform.
|
| 222 |
{user_context}
|
| 223 |
|