Package dev.langchain4j.code
Interface CodeExecutionEngine
- All Known Implementing Classes:
GraalVmJavaScriptExecutionEngine
,GraalVmPythonExecutionEngine
public interface CodeExecutionEngine
Interface for executing code.
-
Method Summary
-
Method Details
-
execute
Execute the given code.- Parameters:
code
- The code to execute.- Returns:
- The result of the execution.
-