Class GraalVmJavaScriptExecutionEngine

java.lang.Object
dev.langchain4j.code.graalvm.GraalVmJavaScriptExecutionEngine
All Implemented Interfaces:
CodeExecutionEngine

public class GraalVmJavaScriptExecutionEngine extends Object implements CodeExecutionEngine
CodeExecutionEngine that uses GraalVM Polyglot/Truffle to execute provided JavaScript code. Attention! It might be dangerous to execute the code, see SandboxPolicy.CONSTRAINED and HostAccess.UNTRUSTED for more details.
  • Constructor Details

    • GraalVmJavaScriptExecutionEngine

      public GraalVmJavaScriptExecutionEngine()
  • Method Details