Download CodeWriterFlow.yaml from Tachi67/CodeWriterFlowModule: direct link, hf CLI and curl.
- Browser
- Download file 2.54 kB
-
https://huggingface.co/Tachi67/CodeWriterFlowModule/resolve/f2f030a4ffed47ff7bab4df11b4fbc1e1ebbc25e/CodeWriterFlow.yaml
- Command line
-
hf download hf://Tachi67/CodeWriterFlowModule@f2f030a4ffed47ff7bab4df11b4fbc1e1ebbc25e/CodeWriterFlow.yaml
-
curl -L -o CodeWriterFlow.yaml https://huggingface.co/Tachi67/CodeWriterFlowModule/resolve/f2f030a4ffed47ff7bab4df11b4fbc1e1ebbc25e/CodeWriterFlow.yaml
2.54 kB
| name: "CodeWriter" | |
| description: "Generates code with interactions with the user" | |
| _target_: Tachi67.CodeWriterFlowModule.CodeWriterFlow.instantiate_from_default_config | |
| output_interface: | |
| - "code" | |
| - "status" | |
| - "summary" | |
| - "result" | |
| ### Subflows specification | |
| subflows_config: | |
| Controller: | |
| _target_: Tachi67.CodeWriterFlowModule.CodeWriterCtrlFlow.instantiate_from_default_config | |
| backend: | |
| api_infos: ??? | |
| model_name: | |
| openai: gpt-4 | |
| azure: azure/gpt-4 | |
| Executor: | |
| _target_: aiflows.base_flows.BranchingFlow.instantiate_from_default_config | |
| subflows_config: | |
| write_code: | |
| _target_: Tachi67.InteractiveCodeGenFlowModule.InteractiveCodeGenFlow.instantiate_from_default_config | |
| subflows_config: | |
| MemoryReading: | |
| _target_: Tachi67.MemoryReadingFlowModule.MemoryReadingAtomicFlow.instantiate_from_default_config | |
| CodeGenerator: | |
| _target_: Tachi67.CodeGeneratorFlowModule.CodeGeneratorAtomicFlow.instantiate_from_default_config | |
| backend: | |
| api_infos: ??? | |
| model_name: | |
| openai: gpt-4 | |
| azure: azure/gpt-4 | |
| CodeFileEditor: | |
| _target_: Tachi67.CodeFileEditFlowModule.CodeFileEditAtomicFlow.instantiate_from_default_config | |
| ParseFeedback: | |
| _target_: Tachi67.ParseFeedbackFlowModule.ParseFeedbackAtomicFlow.instantiate_from_default_config | |
| ask_user: | |
| _target_: Tachi67.CodeWriterFlowModule.CodeWriterAskUserFlow.instantiate_from_default_config | |
| test: | |
| _target_: Tachi67.TestCodeFlowModule.TestCodeFlow.instantiate_from_default_config | |
| early_exit_key: "EARLY_EXIT" | |
| topology: | |
| - goal: "Select the next action and prepare the input for the executor." | |
| input_interface: | |
| _target_: aiflows.interfaces.KeyInterface | |
| additional_transformations: | |
| - _target_: aiflows.data_transformations.KeyMatchInput | |
| flow: Controller | |
| output_interface: | |
| _target_: CodeWriterFlow.detect_finish_or_continue | |
| reset: false | |
| - goal: "Execute the action specified by the Controller." | |
| input_interface: | |
| _target_: aiflows.interfaces.KeyInterface | |
| keys_to_rename: | |
| command: branch | |
| command_args: branch_input_data | |
| keys_to_select: ["branch", "branch_input_data"] | |
| flow: Executor | |
| output_interface: | |
| _target_: aiflows.interfaces.KeyInterface | |
| keys_to_rename: | |
| branch_output_data: observation | |
| keys_to_unpack: ["observation"] | |
| reset: false |