Spaces:
Sleeping
Sleeping
Add debug print for user content in AI service
Browse files- ai_service.py +1 -1
ai_service.py
CHANGED
|
@@ -47,7 +47,7 @@ async def get_ai_response(user_query: str, telegram_id: int = None):
|
|
| 47 |
|
| 48 |
Based on the above information, provide an accurate and helpful response to the customer:
|
| 49 |
"""
|
| 50 |
-
|
| 51 |
completion = groq_client.chat.completions.create(
|
| 52 |
messages=[
|
| 53 |
{"role": "system", "content": PROMPT},
|
|
|
|
| 47 |
|
| 48 |
Based on the above information, provide an accurate and helpful response to the customer:
|
| 49 |
"""
|
| 50 |
+
print("User content:", user_content)
|
| 51 |
completion = groq_client.chat.completions.create(
|
| 52 |
messages=[
|
| 53 |
{"role": "system", "content": PROMPT},
|