Table of Contents
InteractiveCodeGenFlow
InteractiveCodeGenFlow Objects
class InteractiveCodeGenFlow(SequentialFlow)
This flow writes code in an interactive manner. It is a sequential flow composed of:
- MemoryReading: reads in the code library.
- CodeGenerator: generates code based on the goal and functions in the code library.
- CodeFileEditor: writes the generated code to a temp file for the user to see, edit and provide feedback.
- ParseFeedback: opens up the temp file with vscode and parses the feedback from the user.
Input Interface:
goal
Output Interface:
code
feedback
temp_code_file_location