YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/model-cards#model-card-metadata)
Structure of InteractiveCodeGenFlow
goal
|
|
|
v
+------------------+
| MemReading | Reads in the memory in the memory files. (https://huggingface.co/Tachi67/MemoryReadingFlowModule)https://huggingface.co/Tachi67/MemoryReadingFlowModule
+------------------+
|
| (code_library: function signatures of the library)
|
v
+------------------+
| CodeGenerator | Generates code given goal, function signatures of the library. (https://huggingface.co/Tachi67/CodeGeneratorFlowModule)
+------------------+
|
| (code, language_of_code)
|
v
+-------------------+
| CodeFileEdit | Edit a temp code file with the code generated. (https://huggingface.co/Tachi67/CodeFileEditFlowModule)
+-------------------+
|
| (temp_code_file_location)
|
v
+------------------+
| ParseFeedback | Opens up the temp file until user closes the file, parse for user feedback. (https://huggingface.co/Tachi67/ParseFeedbackFlowModule)
+------------------+
|
| (code, feedback)
|
v
code, feedback
Memory_files:
- library.py
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