Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,7 +49,8 @@ def priority_classification_agent(state: State) -> Command[Literal["escalation_c
|
|
| 49 |
f"1. Urgent: Issues causing significant business impact (e.g., payment gateway failure, server down or issues that can not wait as per company's well being).\n"
|
| 50 |
f"2. Critical: Issues needing immediate attention but with manageable impact.\n"
|
| 51 |
f"3. Normal: Issues that can wait for routine handling.\n\n"
|
| 52 |
-
f"Issue: {state['issue_description']}"
|
|
|
|
| 53 |
)
|
| 54 |
#)
|
| 55 |
priority = llm.invoke(prompt).strip().lower()
|
|
|
|
| 49 |
f"1. Urgent: Issues causing significant business impact (e.g., payment gateway failure, server down or issues that can not wait as per company's well being).\n"
|
| 50 |
f"2. Critical: Issues needing immediate attention but with manageable impact.\n"
|
| 51 |
f"3. Normal: Issues that can wait for routine handling.\n\n"
|
| 52 |
+
f"Issue: {state['issue_description']} \n"
|
| 53 |
+
f"Clearly specify only one category: 'urgent', 'critical', or 'normal'."
|
| 54 |
)
|
| 55 |
#)
|
| 56 |
priority = llm.invoke(prompt).strip().lower()
|