Tachi67 commited on
Commit
f2f030a
·
1 Parent(s): 1423219

Update CodeWriterAskUserFlow.py

Browse files
Files changed (1) hide show
  1. CodeWriterAskUserFlow.py +9 -0
CodeWriterAskUserFlow.py CHANGED
@@ -10,6 +10,15 @@ log = logging.get_logger(f"flows.{__name__}")
10
 
11
 
12
  class CodeWriterAskUserFlow(HumanStandardInputFlow):
 
 
 
 
 
 
 
 
 
13
  def run(self,
14
  input_data: Dict[str, Any]) -> Dict[str, Any]:
15
 
 
10
 
11
 
12
  class CodeWriterAskUserFlow(HumanStandardInputFlow):
13
+ """This class is used to ask for user feedback whenever the controller is unsure of something, or need confirmation, etc.
14
+ *Expected Input*:
15
+ - `question`: The question asked by the controller
16
+ *Expected Behaviour*:
17
+ - The question is displayed, and the user gives feedback by inputing string.
18
+ *Expected Ouput*:
19
+ - `feedback`: The input of the user.
20
+ - `code`: No code was written.
21
+ """
22
  def run(self,
23
  input_data: Dict[str, Any]) -> Dict[str, Any]:
24