Uses of Class
dev.langchain4j.agentic.scope.DefaultAgenticScope
Packages that use DefaultAgenticScope
Package
Description
-
Uses of DefaultAgenticScope in dev.langchain4j.agentic.agent
Methods in dev.langchain4j.agentic.agent with parameters of type DefaultAgenticScopeModifier and TypeMethodDescriptionprotected voidAgentBuilder.build(DefaultAgenticScope agenticScope, AiServiceContext context, AiServices<T> aiServices) protected voidUntypedAgentBuilder.build(DefaultAgenticScope agenticScope, AiServiceContext context, AiServices<UntypedAgent> aiServices) -
Uses of DefaultAgenticScope in dev.langchain4j.agentic.internal
Methods in dev.langchain4j.agentic.internal with parameters of type DefaultAgenticScopeModifier and TypeMethodDescriptionAgentExecutor.execute(DefaultAgenticScope agenticScope, PlannerExecutor planner) AbstractAgentInvoker.invoke(DefaultAgenticScope agenticScope, Object agent, AgentInvocationArguments args) default ObjectAgentInvoker.invoke(DefaultAgenticScope agenticScope, Object agent, AgentInvocationArguments args) Invokes the agent, reports the invocation to its listeners with the response of the model it called, and registers the messages it exchanged in the context of the scope.AgentExecutor.syncExecute(DefaultAgenticScope agenticScope, PlannerExecutor planner) AgenticScopeOwner.withAgenticScope(DefaultAgenticScope agenticScope) PlannerBasedInvocationHandler.withAgenticScope(DefaultAgenticScope agenticScope) -
Uses of DefaultAgenticScope in dev.langchain4j.agentic.scope
Methods in dev.langchain4j.agentic.scope that return DefaultAgenticScopeModifier and TypeMethodDescriptionAgenticScopeRegistry.createEphemeralAgenticScope()static DefaultAgenticScopeDefaultAgenticScope.ephemeralAgenticScope()Deserializes a JSON string to aDefaultAgenticScopeobject.static DefaultAgenticScopeDeserializes a JSON string into a AgenticScope object.AgenticScopeRegistry.getInMemory(Object memoryId) DefaultAgenticScope.serializableCopy()The state that is safe to persist.DefaultAgenticScope.withErrorHandler(Function<ErrorContext, ErrorRecoveryResult> errorHandler) Methods in dev.langchain4j.agentic.scope that return types with arguments of type DefaultAgenticScopeModifier and TypeMethodDescriptionAgenticScopeStore.load(AgenticScopeKey key) Loads a AgenticScope by its ID.Methods in dev.langchain4j.agentic.scope with parameters of type DefaultAgenticScopeModifier and TypeMethodDescriptionbooleanAgenticScopeStore.save(AgenticScopeKey key, DefaultAgenticScope agenticScope) Saves or updates a AgenticScope instance.AgenticScopeJsonCodec.toJson(DefaultAgenticScope agenticScope) Serializes aDefaultAgenticScopeobject to a JSON string.static StringAgenticScopeSerializer.toJson(DefaultAgenticScope agenticScope) Serializes a AgenticScope into a JSON string.voidAgenticScopeRegistry.update(DefaultAgenticScope agenticScope) Method parameters in dev.langchain4j.agentic.scope with type arguments of type DefaultAgenticScopeModifier and TypeMethodDescription<T> TDefaultAgenticScope.getOrCreateAgent(String agentId, Function<DefaultAgenticScope, T> agentFactory)