File size: 771 Bytes
f748a3e
 
6128d20
f748a3e
 
 
 
 
 
 
0eae436
f748a3e
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: "PlanReflectCritic"
description: "A flow that prompts the user to reflect on their conceptual solution and provide a corrected version if necessary."


input_data_transformations: []
input_keys: []

output_data_transformations:
  - _target_: flows.data_transformations.KeyRename
    old_key2new_key:
      fixed_reply: "plan_reflect_message"
output_keys:
  - "plan_reflect_message"

fixed_reply: |2-
  Consider the problem statement and the last proposed solution. Are you sure that the solution is provided in the requested format, and crucially, solves the problem?
  If that is not the case, provide the corrected version of the conceptual solution in the following format:
  # Conceptual solution
  {{conceptual_solution}}
  otherwise, reply:
  "Final answer."