Upload 6 files
Browse filesFiles changed (2)
- InterpreterAtomicFlow.py+5-2
- README.md+11-2
24 unmodified lines2526272829303132333435363724 unmodified linesclass InterpreterAtomicFlow(AtomicFlow):"""This flow is used to run the code passed from the caller.*Expected Input*:- `code`- `language`*Expected Output*:- `interpreter_output`: output of the code interpreter**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()**24 unmodified lines2526272829303132333435363738394024 unmodified linesclass InterpreterAtomicFlow(AtomicFlow):"""This flow is used to run the code passed from the caller.*Input Interface*:- `code`- `language`*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 lines101112131415161734 unmodified lines5253545556577 unmodified lines656667686970717273747576779 unmodified lines- `interpreter_output`: output of the code interpreter# Table of Contents* [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="InterpreterAtomicFlow"></a># InterpreterAtomicFlow7 unmodified lines```This flow is used to run the code passed from the caller.*Expected Input*:- `code`- `language`*Expected Output*:- `interpreter_output`: output of the code interpreter**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 lines717273747576777879808182838485869 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.*Input Interface*:- `code`- `language`*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