Class LoopAgentServiceImpl<T>
java.lang.Object
dev.langchain4j.agentic.internal.AbstractService<T,LoopAgentService<T>>
dev.langchain4j.agentic.workflow.impl.LoopAgentServiceImpl<T>
- All Implemented Interfaces:
LoopAgentService<T>,WorkflowService<LoopAgentService<T>,T>
public class LoopAgentServiceImpl<T>
extends AbstractService<T,LoopAgentService<T>>
implements LoopAgentService<T>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class dev.langchain4j.agentic.internal.AbstractService
agentServiceClass, beforeCall, description, errorHandler, name, output, outputName -
Method Summary
Modifier and TypeMethodDescriptionbuild()static LoopAgentServiceImpl<UntypedAgent> builder()static <T> LoopAgentServiceImpl<T> exitCondition(Predicate<AgenticScope> exitCondition) maxIterations(int maxIterations) Methods inherited from class dev.langchain4j.agentic.internal.AbstractService
agentExecutors, beforeCall, description, errorHandler, hasOutputFunction, name, output, outputName, subAgents, subAgentsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.langchain4j.agentic.workflow.WorkflowService
beforeCall, description, errorHandler, name, output, outputName, subAgents, subAgents
-
Method Details
-
build
- Specified by:
buildin interfaceWorkflowService<LoopAgentService<T>,T>
-
builder
-
builder
-
maxIterations
- Specified by:
maxIterationsin interfaceLoopAgentService<T>
-
exitCondition
- Specified by:
exitConditionin interfaceLoopAgentService<T>
-