Table of Contents
run_codewriter
CodeWriterCtrlFlow
CodeWriterCtrlFlow Objects
class CodeWriterCtrlFlow(ChatAtomicFlow)
refer to https://huggingface.co/Tachi67/JarvisFlowModule/blob/main/Controller_JarvisFlow.py
CodeWriterAskUserFlow
CodeWriterAskUserFlow Objects
class CodeWriterAskUserFlow(HumanStandardInputFlow)
This class is used to ask for user feedback whenever the controller is unsure of something, or need confirmation, etc. Expected Input:
question: The question asked by the controller Expected Behaviour:- The question is displayed, and the user gives feedback by inputing string. Expected Ouput:
feedback: The input of the user.code: No code was written.
run
def run(input_data: Dict[str, Any]) -> Dict[str, Any]
Run the flow.
Arguments:
input_data: The input data.
Returns:
The output data.
CodeWriterFlow
CodeWriterFlow Objects
class 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)