Update conversation_logic.py
Browse files- conversation_logic.py +2 -2
conversation_logic.py
CHANGED
|
@@ -4,7 +4,7 @@ import re
|
|
| 4 |
from typing import Any, Dict, List, Optional, Set
|
| 5 |
|
| 6 |
from context_parser import detect_intent, intent_to_help_mode
|
| 7 |
-
from formatting import format_reply
|
| 8 |
from generator_engine import GeneratorEngine
|
| 9 |
from models import RetrievedChunk, SolverResult, ExplainerResult
|
| 10 |
from quant_solver import is_quant_question
|
|
@@ -949,7 +949,7 @@ class ConversationEngine:
|
|
| 949 |
result.topic = question_topic
|
| 950 |
result.domain = "quant"
|
| 951 |
|
| 952 |
-
reply =
|
| 953 |
result=result,
|
| 954 |
intent=resolved_intent,
|
| 955 |
verbosity=verbosity,
|
|
|
|
| 4 |
from typing import Any, Dict, List, Optional, Set
|
| 5 |
|
| 6 |
from context_parser import detect_intent, intent_to_help_mode
|
| 7 |
+
from formatting import format_reply, format_explainer_response
|
| 8 |
from generator_engine import GeneratorEngine
|
| 9 |
from models import RetrievedChunk, SolverResult, ExplainerResult
|
| 10 |
from quant_solver import is_quant_question
|
|
|
|
| 949 |
result.topic = question_topic
|
| 950 |
result.domain = "quant"
|
| 951 |
|
| 952 |
+
reply = format_explainer_response(
|
| 953 |
result=result,
|
| 954 |
intent=resolved_intent,
|
| 955 |
verbosity=verbosity,
|