Uses of Class
com.hw.langchain.agents.agent.AgentExecutor
-
Uses of AgentExecutor in com.hw.langchain.agents.agent
Modifier and TypeMethodDescriptionstatic AgentExecutor
AgentExecutor.fromAgentAndTools
(BaseSingleActionAgent agent, List<BaseTool> tools) Create from agent and tools. -
Uses of AgentExecutor in com.hw.langchain.agents.initialize
Modifier and TypeMethodDescriptionstatic AgentExecutor
Initialize.initializeAgent
(List<BaseTool> tools, BaseLanguageModel llm, AgentType agent) static AgentExecutor
Initialize.initializeAgent
(List<BaseTool> tools, BaseLanguageModel llm, AgentType agent, String agentPath, Map<String, Object> agentKwargs, Map<String, Object> kwargs) Load an agent executor given tools and LLM.