Spaces:
Sleeping
Sleeping
KoRiF
commited on
Commit
·
e6a1854
1
Parent(s):
5fe139f
[temp] discard to rewrite answer with deep reasoning
Browse files- workflow.py +1 -1
workflow.py
CHANGED
|
@@ -276,7 +276,7 @@ Do NOT include << >> in your answer! Don't use full answer formulations! If you
|
|
| 276 |
|
| 277 |
# Execute workflow
|
| 278 |
result = self.workflow.invoke(initial_state)
|
| 279 |
-
return result["formatted_answer"]
|
| 280 |
|
| 281 |
@staticmethod
|
| 282 |
def default_qa_function(question: str) -> str:
|
|
|
|
| 276 |
|
| 277 |
# Execute workflow
|
| 278 |
result = self.workflow.invoke(initial_state)
|
| 279 |
+
return result["answer"]#["formatted_answer"]
|
| 280 |
|
| 281 |
@staticmethod
|
| 282 |
def default_qa_function(question: str) -> str:
|