Skip to content

Commit

Permalink
update inference
Browse files Browse the repository at this point in the history
  • Loading branch information
qixucen committed Apr 10, 2024
1 parent 8276f49 commit 7eb91f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions math_ai/codebase/prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
"""

inference_prompt = """
你是全球最杰出的数学竞赛选手,你已经掌握了足够多的数学知识,你对此数学解题有着非常丰富的经验,你无需纠结于解题的过程,你可以直接给出解题的结果
你是全球最杰出的数学竞赛选手,你已经掌握了足够多的数学知识,你对此数学解题有着非常丰富的经验,你无需纠结于解题的过程,因为很多经过繁杂的推理步骤才能得到的中间结论对你来说都是显而易见的,所以你可以直接给出解题的结果
你现在要解决的任务是{problem_desc}
你的合作者已经完成了上游的一些推理,或许其中有一些能辅助到你对当前任务进行推理的内容{trajectory}
现在,你需要基于你的问题,结合你的经验,给出这个问题的推理和解答。
现在,你需要基于你的问题,结合你的经验,给出这个问题的推理和解答。推理是一个字符串,描述你得到答案的思维过程,answer是一个字符串,描述你对于这个问题的直接答案。
最终结果,请你使用JSON格式进行返回,一个可以参考的格式如下:
{{
"inference": <"inference,指的是你得到答案的思维过程,">,
"answer": <"answer,对于{problem_desc}中所描述的问题的直接答案">
"inference": <"inference">,
"answer": <"answer">
}}
"""

Expand Down

0 comments on commit 7eb91f1

Please sign in to comment.