propagate changes
Browse files- CF_Code.yaml +1 -1
- CF_CodeCollab.yaml +4 -6
- CF_CodeReflect.yaml +3 -1
- FixedReply_CodeReflect.yaml +1 -1
- LC_Code.yaml +1 -1
- LC_CodeCollab.yaml +4 -3
- LC_CodeReflect.yaml +3 -1
CF_Code.yaml
CHANGED
|
@@ -75,7 +75,7 @@ output_data_transformations:
|
|
| 75 |
- _target_: flows.data_transformations.RegexFirstOccurrenceExtractor
|
| 76 |
regex: '(?<=```python)([\s\S]*?)(?=```)'
|
| 77 |
regex_fallback: '(?<=```)([\s\S]*?)(?=```)'
|
| 78 |
-
input_key: "
|
| 79 |
output_key: "code"
|
| 80 |
strip: True
|
| 81 |
assert_unique: True
|
|
|
|
| 75 |
- _target_: flows.data_transformations.RegexFirstOccurrenceExtractor
|
| 76 |
regex: '(?<=```python)([\s\S]*?)(?=```)'
|
| 77 |
regex_fallback: '(?<=```)([\s\S]*?)(?=```)'
|
| 78 |
+
input_key: "api_output"
|
| 79 |
output_key: "code"
|
| 80 |
strip: True
|
| 81 |
assert_unique: True
|
CF_CodeCollab.yaml
CHANGED
|
@@ -13,10 +13,7 @@ input_keys:
|
|
| 13 |
- "output_description"
|
| 14 |
- "io_examples_and_explanation"
|
| 15 |
|
| 16 |
-
output_data_transformations:
|
| 17 |
-
- _target_: flows.data_transformations.KeyRename
|
| 18 |
-
old_key2new_key:
|
| 19 |
-
raw_response.code: "code"
|
| 20 |
output_keys:
|
| 21 |
- "code"
|
| 22 |
|
|
@@ -49,13 +46,14 @@ subflows_config:
|
|
| 49 |
- _target_: flows.data_transformations.RegexFirstOccurrenceExtractor
|
| 50 |
regex: '(?<=```python)([\s\S]*?)(?=```)'
|
| 51 |
regex_fallback: '(?<=```)([\s\S]*?)(?=```)'
|
| 52 |
-
input_key: "
|
| 53 |
output_key: "code"
|
| 54 |
strip: True
|
| 55 |
assert_unique: True
|
| 56 |
|
| 57 |
- _target_: flows.data_transformations.EndOfInteraction
|
| 58 |
end_of_interaction_string: "Final answer"
|
|
|
|
| 59 |
output_key: "end_of_interaction"
|
| 60 |
|
| 61 |
output_keys:
|
|
@@ -67,4 +65,4 @@ subflows_config:
|
|
| 67 |
output_data_transformations:
|
| 68 |
- _target_: flows.data_transformations.KeyRename
|
| 69 |
old_key2new_key:
|
| 70 |
-
|
|
|
|
| 13 |
- "output_description"
|
| 14 |
- "io_examples_and_explanation"
|
| 15 |
|
| 16 |
+
output_data_transformations: []
|
|
|
|
|
|
|
|
|
|
| 17 |
output_keys:
|
| 18 |
- "code"
|
| 19 |
|
|
|
|
| 46 |
- _target_: flows.data_transformations.RegexFirstOccurrenceExtractor
|
| 47 |
regex: '(?<=```python)([\s\S]*?)(?=```)'
|
| 48 |
regex_fallback: '(?<=```)([\s\S]*?)(?=```)'
|
| 49 |
+
input_key: "api_output"
|
| 50 |
output_key: "code"
|
| 51 |
strip: True
|
| 52 |
assert_unique: True
|
| 53 |
|
| 54 |
- _target_: flows.data_transformations.EndOfInteraction
|
| 55 |
end_of_interaction_string: "Final answer"
|
| 56 |
+
input_key: "api_output"
|
| 57 |
output_key: "end_of_interaction"
|
| 58 |
|
| 59 |
output_keys:
|
|
|
|
| 65 |
output_data_transformations:
|
| 66 |
- _target_: flows.data_transformations.KeyRename
|
| 67 |
old_key2new_key:
|
| 68 |
+
api_output: "code_feedback"
|
CF_CodeReflect.yaml
CHANGED
|
@@ -16,7 +16,7 @@ input_keys:
|
|
| 16 |
output_data_transformations:
|
| 17 |
- _target_: flows.data_transformations.KeyRename
|
| 18 |
old_key2new_key:
|
| 19 |
-
|
| 20 |
output_keys:
|
| 21 |
- "code"
|
| 22 |
|
|
@@ -33,12 +33,14 @@ subflows_config:
|
|
| 33 |
- _target_: flows.data_transformations.RegexFirstOccurrenceExtractor
|
| 34 |
regex: '(?<=```python)([\s\S]*?)(?=```)'
|
| 35 |
regex_fallback: '(?<=```)([\s\S]*?)(?=```)'
|
|
|
|
| 36 |
output_key: "code"
|
| 37 |
strip: True
|
| 38 |
assert_unique: True
|
| 39 |
|
| 40 |
- _target_: flows.data_transformations.EndOfInteraction
|
| 41 |
end_of_interaction_string: "Final answer"
|
|
|
|
| 42 |
output_key: "end_of_interaction"
|
| 43 |
|
| 44 |
output_keys:
|
|
|
|
| 16 |
output_data_transformations:
|
| 17 |
- _target_: flows.data_transformations.KeyRename
|
| 18 |
old_key2new_key:
|
| 19 |
+
code: "code"
|
| 20 |
output_keys:
|
| 21 |
- "code"
|
| 22 |
|
|
|
|
| 33 |
- _target_: flows.data_transformations.RegexFirstOccurrenceExtractor
|
| 34 |
regex: '(?<=```python)([\s\S]*?)(?=```)'
|
| 35 |
regex_fallback: '(?<=```)([\s\S]*?)(?=```)'
|
| 36 |
+
input_key: "api_output"
|
| 37 |
output_key: "code"
|
| 38 |
strip: True
|
| 39 |
assert_unique: True
|
| 40 |
|
| 41 |
- _target_: flows.data_transformations.EndOfInteraction
|
| 42 |
end_of_interaction_string: "Final answer"
|
| 43 |
+
input_key: "api_output"
|
| 44 |
output_key: "end_of_interaction"
|
| 45 |
|
| 46 |
output_keys:
|
FixedReply_CodeReflect.yaml
CHANGED
|
@@ -8,7 +8,7 @@ input_keys: []
|
|
| 8 |
output_data_transformations:
|
| 9 |
- _target_: flows.data_transformations.KeyRename
|
| 10 |
old_key2new_key:
|
| 11 |
-
|
| 12 |
output_keys:
|
| 13 |
- "code_reflect_message"
|
| 14 |
|
|
|
|
| 8 |
output_data_transformations:
|
| 9 |
- _target_: flows.data_transformations.KeyRename
|
| 10 |
old_key2new_key:
|
| 11 |
+
fixed_reply: "code_reflect_message"
|
| 12 |
output_keys:
|
| 13 |
- "code_reflect_message"
|
| 14 |
|
LC_Code.yaml
CHANGED
|
@@ -74,7 +74,7 @@ output_data_transformations:
|
|
| 74 |
- _target_: flows.data_transformations.RegexFirstOccurrenceExtractor
|
| 75 |
regex: '(?<=```python)([\s\S]*?)(?=```)'
|
| 76 |
regex_fallback: '(?<=```)([\s\S]*?)(?=```)'
|
| 77 |
-
input_key: "
|
| 78 |
output_key: "code"
|
| 79 |
strip: True
|
| 80 |
assert_unique: True
|
|
|
|
| 74 |
- _target_: flows.data_transformations.RegexFirstOccurrenceExtractor
|
| 75 |
regex: '(?<=```python)([\s\S]*?)(?=```)'
|
| 76 |
regex_fallback: '(?<=```)([\s\S]*?)(?=```)'
|
| 77 |
+
input_key: "api_output"
|
| 78 |
output_key: "code"
|
| 79 |
strip: True
|
| 80 |
assert_unique: True
|
LC_CodeCollab.yaml
CHANGED
|
@@ -16,7 +16,7 @@ input_keys:
|
|
| 16 |
output_data_transformations:
|
| 17 |
- _target_: flows.data_transformations.KeyRename
|
| 18 |
old_key2new_key:
|
| 19 |
-
|
| 20 |
output_keys:
|
| 21 |
- "code"
|
| 22 |
|
|
@@ -49,13 +49,14 @@ subflows_config:
|
|
| 49 |
- _target_: flows.data_transformations.RegexFirstOccurrenceExtractor
|
| 50 |
regex: '(?<=```python)([\s\S]*?)(?=```)'
|
| 51 |
regex_fallback: '(?<=```)([\s\S]*?)(?=```)'
|
| 52 |
-
input_key: "
|
| 53 |
output_key: "code"
|
| 54 |
strip: True
|
| 55 |
assert_unique: True
|
| 56 |
|
| 57 |
- _target_: flows.data_transformations.EndOfInteraction
|
| 58 |
end_of_interaction_string: "Final answer"
|
|
|
|
| 59 |
output_key: "end_of_interaction"
|
| 60 |
|
| 61 |
output_keys:
|
|
@@ -67,4 +68,4 @@ subflows_config:
|
|
| 67 |
output_data_transformations:
|
| 68 |
- _target_: flows.data_transformations.KeyRename
|
| 69 |
old_key2new_key:
|
| 70 |
-
|
|
|
|
| 16 |
output_data_transformations:
|
| 17 |
- _target_: flows.data_transformations.KeyRename
|
| 18 |
old_key2new_key:
|
| 19 |
+
code: "code"
|
| 20 |
output_keys:
|
| 21 |
- "code"
|
| 22 |
|
|
|
|
| 49 |
- _target_: flows.data_transformations.RegexFirstOccurrenceExtractor
|
| 50 |
regex: '(?<=```python)([\s\S]*?)(?=```)'
|
| 51 |
regex_fallback: '(?<=```)([\s\S]*?)(?=```)'
|
| 52 |
+
input_key: "api_output"
|
| 53 |
output_key: "code"
|
| 54 |
strip: True
|
| 55 |
assert_unique: True
|
| 56 |
|
| 57 |
- _target_: flows.data_transformations.EndOfInteraction
|
| 58 |
end_of_interaction_string: "Final answer"
|
| 59 |
+
input_key: "api_output"
|
| 60 |
output_key: "end_of_interaction"
|
| 61 |
|
| 62 |
output_keys:
|
|
|
|
| 68 |
output_data_transformations:
|
| 69 |
- _target_: flows.data_transformations.KeyRename
|
| 70 |
old_key2new_key:
|
| 71 |
+
api_output: "code_feedback"
|
LC_CodeReflect.yaml
CHANGED
|
@@ -16,7 +16,7 @@ input_keys:
|
|
| 16 |
output_data_transformations:
|
| 17 |
- _target_: flows.data_transformations.KeyRename
|
| 18 |
old_key2new_key:
|
| 19 |
-
|
| 20 |
output_keys:
|
| 21 |
- "code"
|
| 22 |
|
|
@@ -33,12 +33,14 @@ subflows_config:
|
|
| 33 |
- _target_: flows.data_transformations.RegexFirstOccurrenceExtractor
|
| 34 |
regex: '(?<=```python)([\s\S]*?)(?=```)'
|
| 35 |
regex_fallback: '(?<=```)([\s\S]*?)(?=```)'
|
|
|
|
| 36 |
output_key: "code"
|
| 37 |
strip: True
|
| 38 |
assert_unique: True
|
| 39 |
|
| 40 |
- _target_: flows.data_transformations.EndOfInteraction
|
| 41 |
end_of_interaction_string: "Final answer"
|
|
|
|
| 42 |
output_key: "end_of_interaction"
|
| 43 |
|
| 44 |
output_keys:
|
|
|
|
| 16 |
output_data_transformations:
|
| 17 |
- _target_: flows.data_transformations.KeyRename
|
| 18 |
old_key2new_key:
|
| 19 |
+
code: "code"
|
| 20 |
output_keys:
|
| 21 |
- "code"
|
| 22 |
|
|
|
|
| 33 |
- _target_: flows.data_transformations.RegexFirstOccurrenceExtractor
|
| 34 |
regex: '(?<=```python)([\s\S]*?)(?=```)'
|
| 35 |
regex_fallback: '(?<=```)([\s\S]*?)(?=```)'
|
| 36 |
+
input_key: "api_output"
|
| 37 |
output_key: "code"
|
| 38 |
strip: True
|
| 39 |
assert_unique: True
|
| 40 |
|
| 41 |
- _target_: flows.data_transformations.EndOfInteraction
|
| 42 |
end_of_interaction_string: "Final answer"
|
| 43 |
+
input_key: "api_output"
|
| 44 |
output_key: "end_of_interaction"
|
| 45 |
|
| 46 |
output_keys:
|