Interface AgentExecutorEx
- All Superinterfaces:
LG4JLoggable
Interface representing an Agent Executor (AKA ReACT agent).
This implementation make in evidence the tools execution using and action dispatcher node
┌─────┐
│start│
└─────┘
|
┌─────┐
│model│
└─────┘
|
┌─────────────────┐
│action_dispatcher│
└─────────────────┘_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
| \ \ \
┌────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│stop│ │ tool_name 1 │ │ tool_name 2 │......│ tool_name N │
└────┘ └─────────────┘ └─────────────┘ └─────────────┘
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classClass responsible for building a state graph.static classRepresents the state of an agent in a system. -
Field Summary
Fields inherited from interface org.bsc.langgraph4j.LG4JLoggable
log -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic AgentExecutorEx.Builderbuilder()Returns a new instance ofAgentExecutorEx.Builder.executeTool(SpringAIToolService toolService, String actionName)
-
Method Details
-
builder
Returns a new instance ofAgentExecutorEx.Builder.- Returns:
- a new
AgentExecutorEx.Builderobject
-
executeTool
static AsyncNodeActionWithConfig<AgentExecutorEx.State> executeTool(SpringAIToolService toolService, String actionName) -
shouldContinue
-