|
Download README.md from Tachi67/PlanWriterFlowModule: direct link, hf CLI and curl.
- Browser
- Download file 3.23 kB
-
https://huggingface.co/Tachi67/PlanWriterFlowModule/resolve/main/README.md
- Command line
-
hf download hf://Tachi67/PlanWriterFlowModule/README.md
-
curl -L -o README.md https://huggingface.co/Tachi67/PlanWriterFlowModule/resolve/main/README.md
3.23 kB
Structure of PlanWriterFlow
goal
|
v
+---------------+
| Controller | --------<<<<-----------+
+---------------+ |
| |
| (command, command args) |
| |
v |
+------------------+ |
| Executor | Each branch is an |
| (Tree Structure) | executor |
+------------------+ |
| ^
| (summary) |
| |
v |
| |
+-> goes back to the Controller>-+
Structure of the Executors:
+-------------------+
| Branching |
| Executor |
+-------------------+
/ \
/ \
/ \
/ \
write_plan ask_user
About the branches:
- ask_user: Ask user for info / confirmation, etc.
- write_plan: Generates plan (user edit is allowed) and fetches user feedback.
How it works: Controller calls write_plan until user is satisfied in the feedback, finish.
Table of Contents
run_planwriter
PlanWriterAskUserFlow
PlanWriterAskUserFlow Objects
class PlanWriterAskUserFlow(HumanStandardInputFlow)
Refer to: https://huggingface.co/Tachi67/ExtendLibraryFlowModule/blob/main/ExtLibAskUserFlow.py
PlanWriterFlow
PlanWriterFlow Objects
class PlanWriterFlow(ContentWriterFlow)
This flow inherits from ContentWriterFlow. In the subflow of the executor, we specify the InteractivePlanGneFlow (https://huggingface.co/Tachi67/InteractivePlanGenFlowModule)
Input Interface:
goal
Output Interface:
planresultsummarystatus
__init__
PlanWriterCtrlFlow
PlanWriterCtrlFlow Objects
class PlanWriterCtrlFlow(ChatAtomicFlow)
Refer to: https://huggingface.co/Tachi67/JarvisFlowModule/blob/main/Controller_JarvisFlow.py