Update crew.py
Browse files
crew.py
CHANGED
|
@@ -57,8 +57,8 @@ def get_crew():
|
|
| 57 |
verbose=True
|
| 58 |
)
|
| 59 |
|
| 60 |
-
@tool("Final answer")
|
| 61 |
-
def
|
| 62 |
"""Given a question and initial answer, provide the final answer."""
|
| 63 |
prompt_template = """
|
| 64 |
You are given a question and initial answer. You must **precisely** answer the question based on the initial answer. Do not include explanations, steps, reasoning, or additional text.
|
|
|
|
| 57 |
verbose=True
|
| 58 |
)
|
| 59 |
|
| 60 |
+
@tool("Final answer tool")
|
| 61 |
+
def final_answer_tool(question: str, answer: str) -> str:
|
| 62 |
"""Given a question and initial answer, provide the final answer."""
|
| 63 |
prompt_template = """
|
| 64 |
You are given a question and initial answer. You must **precisely** answer the question based on the initial answer. Do not include explanations, steps, reasoning, or additional text.
|