Update ExtendLibraryFlow.py
Browse files- ExtendLibraryFlow.py +9 -0
ExtendLibraryFlow.py
CHANGED
|
@@ -8,6 +8,15 @@ class ExtendLibraryFlow(AbstractBossFlow):
|
|
| 8 |
from the Coder, writes functions in an interactive way, test the code and append the newly written function to
|
| 9 |
the code library.
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
*Input Interface (expected input)*
|
| 12 |
- `goal` (str): The goal from the caller (source flow, i.e. CoderFlow)
|
| 13 |
*Output Interface (expected output)*
|
|
|
|
| 8 |
from the Coder, writes functions in an interactive way, test the code and append the newly written function to
|
| 9 |
the code library.
|
| 10 |
|
| 11 |
+
Workflow of ExtendLibrary:
|
| 12 |
+
0. Coder calls ExtendLibrary with a goal.
|
| 13 |
+
1. MemoryReading reads logs, plan, and code library.
|
| 14 |
+
2. Planner makes a plan based on the goal.
|
| 15 |
+
3. Write code in an interactive fashion.
|
| 16 |
+
4. Test code.
|
| 17 |
+
5. Finish, writes code to the library.
|
| 18 |
+
Step 3-5 is done via prompting the controller.
|
| 19 |
+
|
| 20 |
*Input Interface (expected input)*
|
| 21 |
- `goal` (str): The goal from the caller (source flow, i.e. CoderFlow)
|
| 22 |
*Output Interface (expected output)*
|