Tachi67 commited on
Commit
f5ba9f9
·
verified ·
1 Parent(s): d436392

Upload 6 files

Browse files
Files changed (2) hide show
  1. InterpreterAtomicFlow.py +5 -2
  2. README.md +11 -2
InterpreterAtomicFlow.py CHANGED
@@ -25,13 +25,16 @@ def truncate_output(data, max_output_chars=2000):
25
 
26
  class InterpreterAtomicFlow(AtomicFlow):
27
  """This flow is used to run the code passed from the caller.
28
- *Expected Input*:
29
  - `code`
30
  - `language`
31
 
32
- *Expected Output*:
33
  - `interpreter_output`: output of the code interpreter
34
 
 
 
 
35
  **Full credits to open-interpreter (https://github.com/KillianLucas/open-interpreter)
36
  for the usage of code interpreters (package `code_interpreters`) and the function truncate_output()**
37
 
 
25
 
26
  class InterpreterAtomicFlow(AtomicFlow):
27
  """This flow is used to run the code passed from the caller.
28
+ *Input Interface*:
29
  - `code`
30
  - `language`
31
 
32
+ *Output Interface*:
33
  - `interpreter_output`: output of the code interpreter
34
 
35
+ *Configuration Parameters*:
36
+ - None
37
+
38
  **Full credits to open-interpreter (https://github.com/KillianLucas/open-interpreter)
39
  for the usage of code interpreters (package `code_interpreters`) and the function truncate_output()**
40
 
README.md CHANGED
@@ -10,8 +10,10 @@ code, language -> InterpreterFlow -> execution results
10
  - `interpreter_output`: output of the code interpreter
11
 
12
 
 
13
  # Table of Contents
14
 
 
15
  * [InterpreterAtomicFlow](#InterpreterAtomicFlow)
16
  * [InterpreterAtomicFlow](#InterpreterAtomicFlow.InterpreterAtomicFlow)
17
  * [set\_up\_flow\_state](#InterpreterAtomicFlow.InterpreterAtomicFlow.set_up_flow_state)
@@ -52,6 +54,10 @@ code, language -> InterpreterFlow -> execution results
52
  * [code\_interpreters.base\_code\_interpreter](#code_interpreters.base_code_interpreter)
53
  * [BaseCodeInterpreter](#code_interpreters.base_code_interpreter.BaseCodeInterpreter)
54
 
 
 
 
 
55
  <a id="InterpreterAtomicFlow"></a>
56
 
57
  # InterpreterAtomicFlow
@@ -65,13 +71,16 @@ class InterpreterAtomicFlow(AtomicFlow)
65
  ```
66
 
67
  This flow is used to run the code passed from the caller.
68
- *Expected Input*:
69
  - `code`
70
  - `language`
71
 
72
- *Expected Output*:
73
  - `interpreter_output`: output of the code interpreter
74
 
 
 
 
75
  **Full credits to open-interpreter (https://github.com/KillianLucas/open-interpreter)
76
  for the usage of code interpreters (package `code_interpreters`) and the function truncate_output()**
77
 
 
10
  - `interpreter_output`: output of the code interpreter
11
 
12
 
13
+
14
  # Table of Contents
15
 
16
+ * [run](#run)
17
  * [InterpreterAtomicFlow](#InterpreterAtomicFlow)
18
  * [InterpreterAtomicFlow](#InterpreterAtomicFlow.InterpreterAtomicFlow)
19
  * [set\_up\_flow\_state](#InterpreterAtomicFlow.InterpreterAtomicFlow.set_up_flow_state)
 
54
  * [code\_interpreters.base\_code\_interpreter](#code_interpreters.base_code_interpreter)
55
  * [BaseCodeInterpreter](#code_interpreters.base_code_interpreter.BaseCodeInterpreter)
56
 
57
+ <a id="run"></a>
58
+
59
+ # run
60
+
61
  <a id="InterpreterAtomicFlow"></a>
62
 
63
  # InterpreterAtomicFlow
 
71
  ```
72
 
73
  This flow is used to run the code passed from the caller.
74
+ *Input Interface*:
75
  - `code`
76
  - `language`
77
 
78
+ *Output Interface*:
79
  - `interpreter_output`: output of the code interpreter
80
 
81
+ *Configuration Parameters*:
82
+ - None
83
+
84
  **Full credits to open-interpreter (https://github.com/KillianLucas/open-interpreter)
85
  for the usage of code interpreters (package `code_interpreters`) and the function truncate_output()**
86