Tachi67 commited on
Commit
5e89bb9
·
1 Parent(s): d48ed06

Upload 10 files

Browse files
Files changed (2) hide show
  1. CodeWriterFlow.py +10 -2
  2. README.md +9 -0
CodeWriterFlow.py CHANGED
@@ -6,9 +6,17 @@ from aiflows.base_flows import CircularFlow
6
 
7
 
8
  class CodeWriterFlow(ContentWriterFlow):
9
- """
10
- This flow inherits from ContentWriterFlow, it is used to write code in an interactive way.
11
  In the subflow of the executor, we specify an InteractiveCodeGenFlow (https://huggingface.co/Tachi67/InteractiveCodeGenFlowModule)
 
 
 
 
 
 
 
 
 
12
  """
13
  def _on_reach_max_round(self):
14
  self._state_update_dict({
 
6
 
7
 
8
  class CodeWriterFlow(ContentWriterFlow):
9
+ """This flow inherits from ContentWriterFlow, it is used to write code in an interactive way.
 
10
  In the subflow of the executor, we specify an InteractiveCodeGenFlow (https://huggingface.co/Tachi67/InteractiveCodeGenFlowModule)
11
+
12
+ *Input Interface*:
13
+ - `goal`
14
+
15
+ *Output Interface*:
16
+ - `code`
17
+ - `result`
18
+ - `summary`
19
+ - `status`
20
  """
21
  def _on_reach_max_round(self):
22
  self._state_update_dict({
README.md CHANGED
@@ -82,6 +82,15 @@ class CodeWriterFlow(ContentWriterFlow)
82
  This flow inherits from ContentWriterFlow, it is used to write code in an interactive way.
83
  In the subflow of the executor, we specify an InteractiveCodeGenFlow (https://huggingface.co/Tachi67/InteractiveCodeGenFlowModule)
84
 
 
 
 
 
 
 
 
 
 
85
  <a id="__init__"></a>
86
 
87
  # \_\_init\_\_
 
82
  This flow inherits from ContentWriterFlow, it is used to write code in an interactive way.
83
  In the subflow of the executor, we specify an InteractiveCodeGenFlow (https://huggingface.co/Tachi67/InteractiveCodeGenFlowModule)
84
 
85
+ *Input Interface*:
86
+ - `goal`
87
+
88
+ *Output Interface*:
89
+ - `code`
90
+ - `result`
91
+ - `summary`
92
+ - `status`
93
+
94
  <a id="__init__"></a>
95
 
96
  # \_\_init\_\_