Upload 10 files
Browse files- PlanWriterFlow.py +9 -0
- README.md +9 -0
PlanWriterFlow.py
CHANGED
|
@@ -8,6 +8,15 @@ from aiflows.base_flows import CircularFlow
|
|
| 8 |
class PlanWriterFlow(ContentWriterFlow):
|
| 9 |
"""This flow inherits from ContentWriterFlow.
|
| 10 |
In the subflow of the executor, we specify the InteractivePlanGneFlow (https://huggingface.co/Tachi67/InteractivePlanGenFlowModule)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
"""
|
| 12 |
def _on_reach_max_round(self):
|
| 13 |
self._state_update_dict({
|
|
|
|
| 8 |
class PlanWriterFlow(ContentWriterFlow):
|
| 9 |
"""This flow inherits from ContentWriterFlow.
|
| 10 |
In the subflow of the executor, we specify the InteractivePlanGneFlow (https://huggingface.co/Tachi67/InteractivePlanGenFlowModule)
|
| 11 |
+
|
| 12 |
+
*Input Interface*:
|
| 13 |
+
- `goal`
|
| 14 |
+
|
| 15 |
+
*Output Interface*:
|
| 16 |
+
- `plan`
|
| 17 |
+
- `result`
|
| 18 |
+
- `summary`
|
| 19 |
+
- `status`
|
| 20 |
"""
|
| 21 |
def _on_reach_max_round(self):
|
| 22 |
self._state_update_dict({
|
README.md
CHANGED
|
@@ -42,6 +42,15 @@ class PlanWriterFlow(ContentWriterFlow)
|
|
| 42 |
This flow inherits from ContentWriterFlow.
|
| 43 |
In the subflow of the executor, we specify the InteractivePlanGneFlow (https://huggingface.co/Tachi67/InteractivePlanGenFlowModule)
|
| 44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
<a id="__init__"></a>
|
| 46 |
|
| 47 |
# \_\_init\_\_
|
|
|
|
| 42 |
This flow inherits from ContentWriterFlow.
|
| 43 |
In the subflow of the executor, we specify the InteractivePlanGneFlow (https://huggingface.co/Tachi67/InteractivePlanGenFlowModule)
|
| 44 |
|
| 45 |
+
*Input Interface*:
|
| 46 |
+
- `goal`
|
| 47 |
+
|
| 48 |
+
*Output Interface*:
|
| 49 |
+
- `plan`
|
| 50 |
+
- `result`
|
| 51 |
+
- `summary`
|
| 52 |
+
- `status`
|
| 53 |
+
|
| 54 |
<a id="__init__"></a>
|
| 55 |
|
| 56 |
# \_\_init\_\_
|