Tachi67 commited on
Commit
e4bccaf
1 Parent(s): 1531f39

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +62 -3
README.md CHANGED
@@ -1,3 +1,62 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Table of Contents
2
+
3
+ * [run\_replanning](#run_replanning)
4
+ * [ReplanningAskUserFlow](#ReplanningAskUserFlow)
5
+ * [ReplanningAskUserFlow](#ReplanningAskUserFlow.ReplanningAskUserFlow)
6
+ * [NewPlanGenFlow](#NewPlanGenFlow)
7
+ * [ReplanningFlow](#ReplanningFlow)
8
+ * [ReplanningFlow](#ReplanningFlow.ReplanningFlow)
9
+ * [\_\_init\_\_](#__init__)
10
+
11
+ <a id="run_replanning"></a>
12
+
13
+ # run\_replanning
14
+
15
+ <a id="ReplanningAskUserFlow"></a>
16
+
17
+ # ReplanningAskUserFlow
18
+
19
+ <a id="ReplanningAskUserFlow.ReplanningAskUserFlow"></a>
20
+
21
+ ## ReplanningAskUserFlow Objects
22
+
23
+ ```python
24
+ class ReplanningAskUserFlow(HumanStandardInputFlow)
25
+ ```
26
+
27
+ Refer to: https://huggingface.co/Tachi67/ExtendLibraryFlowModule/blob/main/ExtLibAskUserFlow.py
28
+
29
+ <a id="NewPlanGenFlow"></a>
30
+
31
+ # NewPlanGenFlow
32
+
33
+ <a id="ReplanningFlow"></a>
34
+
35
+ # ReplanningFlow
36
+
37
+ <a id="ReplanningFlow.ReplanningFlow"></a>
38
+
39
+ ## ReplanningFlow Objects
40
+
41
+ ```python
42
+ class ReplanningFlow(PlanWriterFlow)
43
+ ```
44
+
45
+ This flow inherits from PlanWriterFlow.
46
+ By changing prompts and injecting proper information to the controller and the PlanGenerator, we are able to achieve the replanning.
47
+
48
+ *Input Interface*:
49
+ - `goal` (str): information on the old plan (e.g. what is wrong)
50
+ - `plan` (str): the old plan
51
+ - `plan_file_location` (str): the location of the old plan file
52
+
53
+ *Output Interface*:
54
+ - `plan` (str): the new plan
55
+ - `status`: "finished" or "unfinished"
56
+ - `summary` (str): summary of the flow, will be written to the log file of the caller flow.
57
+ - `result` (str): result of the flow, will be passed to the controller of the caller flow.
58
+
59
+ <a id="__init__"></a>
60
+
61
+ # \_\_init\_\_
62
+