Class CommandFunctionTools

java.lang.Object
org.machanism.machai.ai.manager.CommandFunctionTools

public class CommandFunctionTools extends Object
Provides support for command line tool functions to be used within GenAIProvider.

Allows execution of (safe) shell commands in a controlled working directory for supported OS.

Usage example:

 CommandFunctionTools tools = new CommandFunctionTools(new File("/tmp"));
 tools.applyTools(provider);
 
Author:
Viktor Tovstyi