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: rdagent/components/proposal/prompts.yaml
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -4,18 +4,22 @@ hypothesis_gen:
4
4
The {{targets}} are used in a certain scenario, the scenario is as follows:
5
5
{{ scenario }}
6
6
The user has made several hypothesis on this scenario and did several evaluation on them. The user will provide this information to you. Check if a new hypothesis has already been proposed. If it is already generated and you agree with it, just use it. If you don't agree, generate a better one.
7
+
{% if hypothesis_specification %}
7
8
To help you generate new hypothesis, the user has prepared some additional information for you. You should use this information to help generate new {{targets}}.
9
+
Here are the specifications: {{ hypothesis_specification }}
10
+
{% endif %}
8
11
Please generate the output following the format and specifications below:
9
12
{{ hypothesis_output_format }}
10
-
Here are the specifications: {{ hypothesis_specification }}
11
13
12
14
user_prompt: |-
13
-
If it is not the first round, then the user has made several hypothesis on this scenario and did several evaluation on them.
15
+
{% if hypothesis_and_feedback|length == 0 %} It is the first round of hypothesis generation. The user has no hypothesis on this scenario yet.
16
+
{% else %}It is not the first round, the user has made several hypothesis on this scenario and did several evaluation on them.
14
17
The former hypothesis and the corresponding feedbacks are as follows (focus on the last one & the new hypothesis that it provides and reasoning to see if you agree):
15
18
{{ hypothesis_and_feedback }}
16
-
To help you generate new {{targets}}, we have prepared the following information for you:
17
-
{{ RAG }}
18
-
Please generate the new hypothesis based on the information above. Also generate the relevant keys for the reasoning and the distilled knowledge that follows. For those keys, in particular for knowledge, explain in the context of the specific scenario to build up domain knowledge in the specific field rather than genearl knowledge.
19
+
{% endif %}
20
+
{% if RAG %}To help you generate new {{targets}}, we have prepared the following information for you:
21
+
{{ RAG }}{% endif %}
22
+
Please generate the new hypothesis based on the information above. Also generate the relevant keys for the reasoning and the distilled knowledge that follows. For those keys, in particular for knowledge, explain in the context of the specific scenario to build up domain knowledge in the specific field rather than general knowledge.
0 commit comments