Upload README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,36 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Table of Contents
|
2 |
+
|
3 |
+
* [InteractiveCodeGenFlow](#InteractiveCodeGenFlow)
|
4 |
+
* [InteractiveCodeGenFlow](#InteractiveCodeGenFlow.InteractiveCodeGenFlow)
|
5 |
+
* [\_\_init\_\_](#__init__)
|
6 |
+
|
7 |
+
<a id="InteractiveCodeGenFlow"></a>
|
8 |
+
|
9 |
+
# InteractiveCodeGenFlow
|
10 |
+
|
11 |
+
<a id="InteractiveCodeGenFlow.InteractiveCodeGenFlow"></a>
|
12 |
+
|
13 |
+
## InteractiveCodeGenFlow Objects
|
14 |
+
|
15 |
+
```python
|
16 |
+
class InteractiveCodeGenFlow(SequentialFlow)
|
17 |
+
```
|
18 |
+
|
19 |
+
This flow writes code in an interactive manner. It is a sequential flow composed of:
|
20 |
+
1. MemoryReading: reads in the code library.
|
21 |
+
2. CodeGenerator: generates code based on the goal and functions in the code library.
|
22 |
+
3. CodeFileEditor: writes the generated code to a temp file for the user to see, edit and provide feedback.
|
23 |
+
4. ParseFeedback: opens up the temp file with vscode and parses the feedback from the user.
|
24 |
+
|
25 |
+
*Input Interface*:
|
26 |
+
- `goal`
|
27 |
+
|
28 |
+
*Output Interface*:
|
29 |
+
- `code`
|
30 |
+
- `feedback`
|
31 |
+
- `temp_code_file_location`
|
32 |
+
|
33 |
+
<a id="__init__"></a>
|
34 |
+
|
35 |
+
# \_\_init\_\_
|
36 |
+
|