change links from Tachi repo to aiflows
Browse filesFiles changed (3)
- CodeWriterCtrlFlow.py+1-1
- CodeWriterFlow.py+1-1
- README.md+8-6
13 unmodified lines1415161718192013 unmodified linesinput_args: List[str]class CodeWriterCtrlFlow(ChatAtomicFlow):"""refer to https://huggingface.co/Tachi67/JarvisFlowModule/blob/main/Controller_JarvisFlow.pyThis class controls the execution of the CodeWriterFlow.13 unmodified lines1415161718192013 unmodified linesinput_args: List[str]class CodeWriterCtrlFlow(ChatAtomicFlow):"""refer to https://huggingface.co/aiflows/JarvisFlowModule/blob/main/Controller_JarvisFlow.pyThis class controls the execution of the CodeWriterFlow.
9 unmodified lines101112131415169 unmodified linesclass CodeWriterFlow(ContentWriterFlow):"""This flow inherits from ContentWriterFlow, it is used to write code in an interactive way.In the subflow of the executor, we specify an InteractiveCodeGenFlow (https://huggingface.co/Tachi67/InteractiveCodeGenFlowModule)*Input Interface*:- `goal`9 unmodified lines101112131415169 unmodified linesclass CodeWriterFlow(ContentWriterFlow):"""This flow inherits from ContentWriterFlow, it is used to write code in an interactive way.In the subflow of the executor, we specify an InteractiveCodeGenFlow (https://huggingface.co/aiflows/InteractiveCodeGenFlowModule)*Input Interface*:- `goal`
12349 unmodified lines14151617181935 unmodified lines55565758596061626364656667686910 unmodified lines8081828384858669 unmodified lines156157158159160161162# Table of Contents* [Structure of CodeWriterFlow](#structure-of-codewriterflow)9 unmodified lines* [run](#CodeWriterFlow.CodeWriterFlow.run)* [\_\_init\_\_](#__init__)# Structure of CodeWriterFlow```35 unmodified lines```About the branches:- [ask_user](https://huggingface.co/Tachi67/CodeWriterFlowModule/blob/main/CodeWriterAskUserFlow.py): Ask user for info / confirmation, etc.- [write_code](https://huggingface.co/Tachi67/InteractiveCodeGenFlowModule): Generates code (user edit is allowed) and fetches user feedback.- [test](https://huggingface.co/Tachi67/TestCodeFlowModule): Test the code, user can provide test suites, if nothing is provided, syntax of the code is checked.How it works:Controller calls write_code until user is satisfied in the feedback, then controller calls test to test the code, if test passes, finish.<a id="run_codewriter"></a># run\_codewriter10 unmodified linesclass CodeWriterCtrlFlow(ChatAtomicFlow)```refer to https://huggingface.co/Tachi67/JarvisFlowModule/blob/main/Controller_JarvisFlow.pyThis class controls the execution of the CodeWriterFlow.69 unmodified lines```This flow inherits from ContentWriterFlow, it is used to write code in an interactive way.In the subflow of the executor, we specify an InteractiveCodeGenFlow (https://huggingface.co/Tachi67/InteractiveCodeGenFlowModule)*Input Interface*:- `goal`1239 unmodified lines131415161718192035 unmodified lines5657585960616263646566676869707110 unmodified lines8283848586878869 unmodified lines158159160161162163164# Table of Contents* [Structure of CodeWriterFlow](#structure-of-codewriterflow)9 unmodified lines* [run](#CodeWriterFlow.CodeWriterFlow.run)* [\_\_init\_\_](#__init__)# Structure of CodeWriterFlow```35 unmodified lines```About the branches:- [ask_user](https://huggingface.co/aiflows/CodeWriterFlowModule/blob/main/CodeWriterAskUserFlow.py): Ask user for info / confirmation, etc.- [write_code](https://huggingface.co/aiflows/InteractiveCodeGenFlowModule): Generates code (user edit is allowed) and fetches user feedback.- [test](https://huggingface.co/aiflows/TestCodeFlowModule): Test the code, user can provide test suites, if nothing is provided, syntax of the code is checked.How it works:Controller calls write_code until user is satisfied in the feedback, then controller calls test to test the code, if test passes, finish.<a id="run_codewriter"></a># run\_codewriter10 unmodified linesclass CodeWriterCtrlFlow(ChatAtomicFlow)```refer to https://huggingface.co/aiflows/JarvisFlowModule/blob/main/Controller_JarvisFlow.pyThis class controls the execution of the CodeWriterFlow.69 unmodified lines```This flow inherits from ContentWriterFlow, it is used to write code in an interactive way.In the subflow of the executor, we specify an InteractiveCodeGenFlow (https://huggingface.co/aiflows/InteractiveCodeGenFlowModule)*Input Interface*:- `goal`
CodeWriterCtrlFlow.py+1-1
CodeWriterFlow.py+1-1
README.md+8-6