You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/fhda/prompts.py
+25Lines changed: 25 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -238,3 +238,28 @@
238
238
{GENERAL_NOTEBOOK_GUIDELINES}
239
239
{R_SPECIFIC_GUIDELINES}
240
240
"""
241
+
242
+
CONTINUATION_PROMPT_TEMPLATE=f"""
243
+
{GENERAL_NOTEBOOK_GUIDELINES}
244
+
245
+
You have been provided with a notebook previously generated by an agent based on a user's research question.
246
+
247
+
This was the user's research question:
248
+
<previous_research_question>
249
+
{{previous_research_question}}
250
+
</previous_research_question>
251
+
252
+
This was the final answer generated by the previous agent:
253
+
<previous_final_answer>
254
+
{{previous_final_answer}}
255
+
</previous_final_answer>
256
+
257
+
The user has now tasked you with addressing a new query:
258
+
<query>
259
+
{{query}}
260
+
</query>
261
+
262
+
Please make any edits required to the notebook and the answer to address the new query. Be extremely diligent and ensure that the notebook is fully updated to address the new query.
263
+
Note you may have to run all cells one by one again if the user query involved updating one of the intermediate cells and subsequent cells depend on it.
264
+
Once you have updated the notebook, use the submit_answer tool to submit your final answer once the user's query is addressed.
0 commit comments