Upload 6 files
Browse filesFiles changed (2)
- InterpreterAtomicFlow.py+5-2
- README.md+11-2
24 unmodified lines25262728282930313232333435363738394024 unmodified lines
class InterpreterAtomicFlow(AtomicFlow): """This flow is used to run the code passed from the caller. *Expected Input*: *Input Interface*: - `code` - `language` *Expected Output*: *Output Interface*: - `interpreter_output`: output of the code interpreter
*Configuration Parameters*: - None
**Full credits to open-interpreter (https://github.com/KillianLucas/open-interpreter) for the usage of code interpreters (package `code_interpreters`) and the function truncate_output()**
9 unmodified lines1011121314151617181934 unmodified lines545556575859606162637 unmodified lines7172736874757677727879808182838485869 unmodified lines- `interpreter_output`: output of the code interpreter
# Table of Contents
* [run](#run)* [InterpreterAtomicFlow](#InterpreterAtomicFlow) * [InterpreterAtomicFlow](#InterpreterAtomicFlow.InterpreterAtomicFlow) * [set\_up\_flow\_state](#InterpreterAtomicFlow.InterpreterAtomicFlow.set_up_flow_state)34 unmodified lines* [code\_interpreters.base\_code\_interpreter](#code_interpreters.base_code_interpreter) * [BaseCodeInterpreter](#code_interpreters.base_code_interpreter.BaseCodeInterpreter)
<a id="run"></a>
# run
<a id="InterpreterAtomicFlow"></a>
# InterpreterAtomicFlow7 unmodified lines```
This flow is used to run the code passed from the caller.*Expected Input*:*Input Interface*:- `code`- `language`
*Expected Output*:*Output Interface*:- `interpreter_output`: output of the code interpreter
*Configuration Parameters*:- None
**Full credits to open-interpreter (https://github.com/KillianLucas/open-interpreter)for the usage of code interpreters (package `code_interpreters`) and the function truncate_output()**
InterpreterAtomicFlow.py+5-2
README.md+11-2