createGoalAgent

fun createGoalAgent(inputObject: Any, agentScope: AgentScope, goal: Goal, prune: Boolean): Agent

Open mode. Create an agent to accomplish this goal from the given user input

Parameters

inputObject

any input object

agentScope

scope to look for the agent

goal

the goal to accomplish

prune

whether to prune the agent to only relevant actions