File size: 550 Bytes
428252c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
_target_: flow_modules.aiflows.RunCodeFlowModule.RunCodeAskUserFlow.instantiate_from_default_config

input_interface:
  - "interpreter_output"
  - "code_ran"
output_interface:
  - "summary"
  - "result"

request_multi_line_input_flag: False
end_of_input_string: EOI

query_message_prompt_template:
  template: |2-
    The following code was ran by the interpreter:
    {{code_ran}}
    Here's the execution result of the code:
    {{interpreter_output}}
    Please provide your feedback.
  input_variables:
    - "code_ran"
    - "interpreter_output"