Update agent.py
Browse files
agent.py
CHANGED
|
@@ -48,7 +48,7 @@ class BasicAgent():
|
|
| 48 |
print(f"Agent returning answer: {answer}")
|
| 49 |
return answer
|
| 50 |
|
| 51 |
-
def assistant(state: AgentState):
|
| 52 |
prompt = """When providing the final answer, be as concise as possible, provide only the required final answer. For example:
|
| 53 |
QUESTION: What was the actual enrollment count of the clinical trial on H. pylori in acne vulgaris patients from Jan-May 2018 as listed on the NIH website?
|
| 54 |
FINAL ANSWER: 90
|
|
|
|
| 48 |
print(f"Agent returning answer: {answer}")
|
| 49 |
return answer
|
| 50 |
|
| 51 |
+
def assistant(self,state: AgentState):
|
| 52 |
prompt = """When providing the final answer, be as concise as possible, provide only the required final answer. For example:
|
| 53 |
QUESTION: What was the actual enrollment count of the clinical trial on H. pylori in acne vulgaris patients from Jan-May 2018 as listed on the NIH website?
|
| 54 |
FINAL ANSWER: 90
|