Uses of Interface
dev.langchain4j.agentic.scope.AgenticScope
Packages that use AgenticScope
Package
Description
-
Uses of AgenticScope in dev.langchain4j.agentic
Methods in dev.langchain4j.agentic with parameters of type AgenticScopeModifier and TypeMethodDescriptionvoid
AgenticServices.AgenticScopeAction.accept
(AgenticScope agenticScope) Method parameters in dev.langchain4j.agentic with type arguments of type AgenticScopeModifier and TypeMethodDescriptionAgenticServices.agentAction
(AgenticServices.AgenticScopeAction.NonThrowingConsumer<AgenticScope> consumer) Wraps a consumer of the AgenticScope into an agent action that can be executed within the context of an agent. -
Uses of AgenticScope in dev.langchain4j.agentic.a2a
Methods in dev.langchain4j.agentic.a2a with parameters of type AgenticScopeModifier and TypeMethodDescriptionA2AClientAgentInvoker.toInvocationArguments
(AgenticScope agenticScope) -
Uses of AgenticScope in dev.langchain4j.agentic.agent
Methods in dev.langchain4j.agentic.agent that return AgenticScopeModifier and TypeMethodDescriptionAgentRequest.agenticScope()
Returns the value of theagenticScope
record component.AgentResponse.agenticScope()
Returns the value of theagenticScope
record component.ErrorContext.agenticScope()
Returns the value of theagenticScope
record component.Method parameters in dev.langchain4j.agentic.agent with type arguments of type AgenticScopeModifier and TypeMethodDescriptionAgentBuilder.context
(Function<AgenticScope, String> contextProvider) Constructors in dev.langchain4j.agentic.agent with parameters of type AgenticScopeModifierConstructorDescriptionAgentRequest
(AgenticScope agenticScope, String agentName, Map<String, Object> inputs) Creates an instance of aAgentRequest
record class.AgentResponse
(AgenticScope agenticScope, String agentName, Map<String, Object> inputs, Object output) Creates an instance of aAgentResponse
record class.ErrorContext
(String agentName, AgenticScope agenticScope, AgentInvocationException exception) Creates an instance of aErrorContext
record class. -
Uses of AgenticScope in dev.langchain4j.agentic.internal
Fields in dev.langchain4j.agentic.internal with type parameters of type AgenticScopeModifier and TypeFieldDescriptionprotected Consumer
<AgenticScope> AbstractService.beforeCall
protected Function
<AgenticScope, Object> AbstractService.output
Methods in dev.langchain4j.agentic.internal with parameters of type AgenticScopeModifier and TypeMethodDescriptionstatic AgentInvocationArguments
AgentUtil.agentInvocationArguments
(AgenticScope agenticScope, List<AgentUtil.AgentArgument> agentArguments) static AgentInvocationArguments
AgentUtil.agentInvocationArguments
(AgenticScope agenticScope, List<AgentUtil.AgentArgument> agentArguments, Map<String, Object> additionalArgs) static Object
AgentUtil.argumentFromAgenticScope
(AgenticScope agenticScope, Class<?> argType, String argName) default Object
AgentInvoker.invoke
(AgenticScope agenticScope, Object agent, AgentInvocationArguments args) AgentInvoker.toInvocationArguments
(AgenticScope agenticScope) MethodAgentInvoker.toInvocationArguments
(AgenticScope agenticScope) UntypedAgentInvoker.toInvocationArguments
(AgenticScope agenticScope) Method parameters in dev.langchain4j.agentic.internal with type arguments of type AgenticScopeModifier and TypeMethodDescriptionAbstractService.beforeCall
(Consumer<AgenticScope> beforeCall) AbstractService.output
(Function<AgenticScope, Object> output) Constructors in dev.langchain4j.agentic.internal with parameters of type AgenticScopeModifierConstructorDescriptionAgenticScopeContextGenerator
(AgenticScope agenticScope, Function<AgenticScope, String> contextProvider) Summarizer
(AgenticScope agenticScope, ChatModel chatModel, String... agentNames) Constructor parameters in dev.langchain4j.agentic.internal with type arguments of type AgenticScopeModifierConstructorDescriptionAgenticScopeContextGenerator
(AgenticScope agenticScope, Function<AgenticScope, String> contextProvider) -
Uses of AgenticScope in dev.langchain4j.agentic.scope
Classes in dev.langchain4j.agentic.scope that implement AgenticScopeMethods in dev.langchain4j.agentic.scope that return AgenticScopeModifier and TypeMethodDescriptionResultWithAgenticScope.agenticScope()
Returns the value of theagenticScope
record component.AgenticScopeAccess.getAgenticScope
(Object memoryId) Returns theAgenticScope
with the given id for this AI service or null if such memory doesn't exist.Constructors in dev.langchain4j.agentic.scope with parameters of type AgenticScopeModifierConstructorDescriptionResultWithAgenticScope
(AgenticScope agenticScope, T result) Creates an instance of aResultWithAgenticScope
record class. -
Uses of AgenticScope in dev.langchain4j.agentic.supervisor
Method parameters in dev.langchain4j.agentic.supervisor with type arguments of type AgenticScopeModifier and TypeMethodDescriptionSupervisorAgentService.output
(Function<AgenticScope, Object> output) SupervisorAgentService.requestGenerator
(Function<AgenticScope, String> requestGenerator) SupervisorAgentServiceImpl.requestGenerator
(Function<AgenticScope, String> requestGenerator) -
Uses of AgenticScope in dev.langchain4j.agentic.workflow
Method parameters in dev.langchain4j.agentic.workflow with type arguments of type AgenticScopeModifier and TypeMethodDescriptionWorkflowService.beforeCall
(Consumer<AgenticScope> beforeCall) LoopAgentService.exitCondition
(BiPredicate<AgenticScope, Integer> exitCondition) LoopAgentService.exitCondition
(Predicate<AgenticScope> exitCondition) WorkflowService.output
(Function<AgenticScope, Object> output) ConditionalAgentService.subAgent
(Predicate<AgenticScope> condition, AgentExecutor agentExecutor) ConditionalAgentService.subAgents
(Predicate<AgenticScope> condition, Object... agents) ConditionalAgentService.subAgents
(Predicate<AgenticScope> condition, List<AgentExecutor> agentExecutors) -
Uses of AgenticScope in dev.langchain4j.agentic.workflow.impl
Method parameters in dev.langchain4j.agentic.workflow.impl with type arguments of type AgenticScopeModifier and TypeMethodDescriptionLoopAgentServiceImpl.exitCondition
(BiPredicate<AgenticScope, Integer> exitCondition) LoopAgentServiceImpl.exitCondition
(Predicate<AgenticScope> exitCondition) ConditionalAgentServiceImpl.subAgent
(Predicate<AgenticScope> condition, AgentExecutor agentExecutor) ConditionalAgentServiceImpl.subAgents
(Predicate<AgenticScope> condition, Object... agents) ConditionalAgentServiceImpl.subAgents
(Predicate<AgenticScope> condition, List<AgentExecutor> agentExecutors)