Download FixedReply_CodeReflect.yaml from martinjosifoski/CC_flows: direct link, hf CLI and curl.
- Browser
- Download file 730 Bytes
-
https://huggingface.co/martinjosifoski/CC_flows/resolve/main/FixedReply_CodeReflect.yaml
- Command line
-
hf download hf://martinjosifoski/CC_flows/FixedReply_CodeReflect.yaml
-
curl -L -o FixedReply_CodeReflect.yaml https://huggingface.co/martinjosifoski/CC_flows/resolve/main/FixedReply_CodeReflect.yaml
730 Bytes
| name: "CodeReflectCritic" | |
| description: "A flow that prompts the user to reflect on their code 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: "code_reflect_message" | |
| output_keys: | |
| - "code_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 code in the following format: | |
| ```python | |
| {{python_code}} | |
| ``` | |
| otherwise, reply: | |
| "Final answer." | |