File size: 953 Bytes
1a76c93 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# Table of Contents
* [InteractiveCodeGenFlow](#InteractiveCodeGenFlow)
* [InteractiveCodeGenFlow](#InteractiveCodeGenFlow.InteractiveCodeGenFlow)
* [\_\_init\_\_](#__init__)
<a id="InteractiveCodeGenFlow"></a>
# InteractiveCodeGenFlow
<a id="InteractiveCodeGenFlow.InteractiveCodeGenFlow"></a>
## InteractiveCodeGenFlow Objects
```python
class InteractiveCodeGenFlow(SequentialFlow)
```
This flow writes code in an interactive manner. It is a sequential flow composed of:
1. MemoryReading: reads in the code library.
2. CodeGenerator: generates code based on the goal and functions in the code library.
3. CodeFileEditor: writes the generated code to a temp file for the user to see, edit and provide feedback.
4. 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`
<a id="__init__"></a>
# \_\_init\_\_
|