Update conversation_logic.py
Browse files- conversation_logic.py +1 -1
conversation_logic.py
CHANGED
|
@@ -465,7 +465,7 @@ class ConversationEngine:
|
|
| 465 |
question_text=solver_input,
|
| 466 |
category=category,
|
| 467 |
)
|
| 468 |
-
|
| 469 |
|
| 470 |
if not inferred_category:
|
| 471 |
q = solver_input.lower()
|
|
|
|
| 465 |
question_text=solver_input,
|
| 466 |
category=category,
|
| 467 |
)
|
| 468 |
+
inferred_category = classification.get("category") or category
|
| 469 |
|
| 470 |
if not inferred_category:
|
| 471 |
q = solver_input.lower()
|