martinjosifoski
commited on
Commit
•
6c473f5
1
Parent(s):
2195577
Update CF_Code and CF_CodeReflect to run with the new setup.
Browse files- CF_Code.yaml +0 -1
- CF_CodeReflect.yaml +12 -1
- __init__.py +10 -10
CF_Code.yaml
CHANGED
@@ -70,7 +70,6 @@ expected_inputs:
|
|
70 |
- "input_description"
|
71 |
- "output_description"
|
72 |
- "io_examples_and_explanation"
|
73 |
-
- "api_key"
|
74 |
|
75 |
expected_outputs:
|
76 |
- "code"
|
|
|
70 |
- "input_description"
|
71 |
- "output_description"
|
72 |
- "io_examples_and_explanation"
|
|
|
73 |
|
74 |
expected_outputs:
|
75 |
- "code"
|
CF_CodeReflect.yaml
CHANGED
@@ -2,6 +2,16 @@ name: "CodeReflect_Flow"
|
|
2 |
verbose: True
|
3 |
description: "ToDO: add description"
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
reset_generator_every_round: False
|
6 |
reset_critic_every_round: True
|
7 |
max_rounds: 2 # ToDo: To increase to 4
|
@@ -26,8 +36,9 @@ subflows_config:
|
|
26 |
verbose: True
|
27 |
- _target_: flows.base_flows.FixedReplyAtomicFlow.instantiate_with_overrides
|
28 |
overrides:
|
29 |
-
name: "
|
30 |
description: "ToDo: Add description"
|
|
|
31 |
expected_outputs:
|
32 |
- "query"
|
33 |
fixed_reply: |2-
|
|
|
2 |
verbose: True
|
3 |
description: "ToDO: add description"
|
4 |
|
5 |
+
expected_inputs:
|
6 |
+
- "problem_description"
|
7 |
+
- "input_description"
|
8 |
+
- "output_description"
|
9 |
+
- "io_examples_and_explanation"
|
10 |
+
|
11 |
+
expected_outputs:
|
12 |
+
- "code"
|
13 |
+
- "end_of_interaction"
|
14 |
+
|
15 |
reset_generator_every_round: False
|
16 |
reset_critic_every_round: True
|
17 |
max_rounds: 2 # ToDo: To increase to 4
|
|
|
36 |
verbose: True
|
37 |
- _target_: flows.base_flows.FixedReplyAtomicFlow.instantiate_with_overrides
|
38 |
overrides:
|
39 |
+
name: "CodeFixedReplyCritic"
|
40 |
description: "ToDo: Add description"
|
41 |
+
expected_inputs: []
|
42 |
expected_outputs:
|
43 |
- "query"
|
44 |
fixed_reply: |2-
|
__init__.py
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
from .CF_Code import CF_Code
|
2 |
-
from .CF_CodeWithPlan import CF_CodeWithPlan
|
3 |
from .CF_CodeReflect import CF_CodeReflect
|
4 |
-
from .CF_Plan import CF_Plan
|
5 |
-
from .CF_Plan_Code import CF_Plan_Code
|
6 |
-
from .CF_CodeCritic import CF_CodeCritic
|
7 |
-
from .CF_CodeCollab import CF_CodeCollab
|
8 |
-
from .CF_PlanReflect import CF_PlanReflect
|
9 |
-
from .CF_PlanReflect_Code import CF_PlanReflect_Code
|
10 |
-
from .CF_PlanCritic import CF_PlanCritic
|
11 |
-
from .CF_PlanCollab import CF_PlanCollab
|
12 |
-
from .CF_PlanCollab_Code import CF_PlanCollab_Code
|
|
|
1 |
from .CF_Code import CF_Code
|
2 |
+
# from .CF_CodeWithPlan import CF_CodeWithPlan
|
3 |
from .CF_CodeReflect import CF_CodeReflect
|
4 |
+
# from .CF_Plan import CF_Plan
|
5 |
+
# from .CF_Plan_Code import CF_Plan_Code
|
6 |
+
# from .CF_CodeCritic import CF_CodeCritic
|
7 |
+
# from .CF_CodeCollab import CF_CodeCollab
|
8 |
+
# from .CF_PlanReflect import CF_PlanReflect
|
9 |
+
# from .CF_PlanReflect_Code import CF_PlanReflect_Code
|
10 |
+
# from .CF_PlanCritic import CF_PlanCritic
|
11 |
+
# from .CF_PlanCollab import CF_PlanCollab
|
12 |
+
# from .CF_PlanCollab_Code import CF_PlanCollab_Code
|