Uses of Class
dev.langchain4j.agentic.AgenticServices.NonAiAgentBuilder
Packages that use AgenticServices.NonAiAgentBuilder
-
Uses of AgenticServices.NonAiAgentBuilder in dev.langchain4j.agentic
Methods in dev.langchain4j.agentic that return AgenticServices.NonAiAgentBuilderModifier and TypeMethodDescriptionAgenticServices.NonAiAgentBuilder.async(boolean async) Controls whether this agent executes asynchronously within an agentic system.AgenticServices.NonAiAgentBuilder.description(String description) Sets a human-readable description of what this agent does, used by planners and orchestrators.AgenticServices.NonAiAgentBuilder.inputKeys(Class<?> type1, String name1, Class<?> type2, String name2) AgenticServices.NonAiAgentBuilder.inputKeys(Class<?> type1, String name1, Class<?> type2, String name2, Class<?> type3, String name3) AgenticServices.NonAiAgentBuilder.inputKeys(Class<?> type1, String name1, Class<?> type2, String name2, Class<?> type3, String name3, Class<?> type4, String name4) AgenticServices.NonAiAgentBuilder.inputs(AgentArgument... inputs) Declares the keys of the AgenticScope that this agent reads.AgenticServices.NonAiAgentBuilder.listener(AgentListener listener) Adds a listener notified of this agent's invocations.Sets the agent name used for identification in multi-agent systems.static <T> AgenticServices.NonAiAgentBuilder<T> AgenticServices.nonAiAgentBuilder(AgenticServices.AgenticScopeFunction.NonThrowingFunction<AgenticScope, T> function) Creates a builder for a non-AI agent whose logic is a function of theAgenticScope.Sets the output key using aTypedKeyclass for type-safe scope access.Sets the key under which this agent's result is stored in theAgenticScope.AgenticServices.NonAiAgentBuilder.outputType(Type outputType) Sets the type of the result produced by this agent.