Class ParallelAgentServiceImpl<T>
java.lang.Object
dev.langchain4j.agentic.internal.AbstractServiceBuilder<T, ParallelAgentService<T>>
dev.langchain4j.agentic.workflow.impl.ParallelAgentServiceImpl<T>
- All Implemented Interfaces:
AgenticService<ParallelAgentService<T>, T>, ParallelAgentService<T>
public class ParallelAgentServiceImpl<T>
extends AbstractServiceBuilder<T, ParallelAgentService<T>>
implements ParallelAgentService<T>
-
Field Summary
Fields inherited from class AbstractServiceBuilder
agenticMethod, agentInstanceFactory, agentListener, agentServiceClass, beforeCall, compensateOnError, description, errorHandler, executor, name, output, outputKey, subagents -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the agentic service, returning a proxy that can be invoked to execute the configured workflow.static ParallelAgentServiceImpl<UntypedAgent> builder()static <T> ParallelAgentServiceImpl<T> Methods inherited from class AbstractServiceBuilder
agentInstanceFactory, beforeCall, build, build, compensateOnError, description, errorHandler, executor, listener, name, output, outputKey, outputKey, subAgents, subAgentsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AgenticService
beforeCall, compensateOnError, description, errorHandler, listener, name, output, outputKey, outputKey, subAgents, subAgentsMethods inherited from interface ParallelAgentService
executor
-
Constructor Details
-
ParallelAgentServiceImpl
-
-
Method Details
-
build
Description copied from interface:AgenticServiceBuilds the agentic service, returning a proxy that can be invoked to execute the configured workflow.- Specified by:
buildin interfaceAgenticService<ParallelAgentService<T>, T>- Returns:
- the built agent proxy
-
builder
-
builder
-
serviceType
- Specified by:
serviceTypein classAbstractServiceBuilder<T, ParallelAgentService<T>>
-