Uses of Class
com.hw.langchain.agents.agent.Agent
-
Uses of Agent in com.hw.langchain.agents.chat.base
Modifier and TypeMethodDescriptionstatic Agent
ChatAgent.fromLLMAndTools
(BaseLanguageModel llm, List<BaseTool> tools, AgentOutputParser outputParser, String systemMessagePrefix, String systemMessageSuffix, String humanMessage, String formatInstructions, List<String> inputVariables, Map<String, Object> kwargs) Construct an agent from an LLM and tools.static Agent
ChatAgent.fromLLMAndTools
(BaseLanguageModel llm, List<BaseTool> tools, Map<String, Object> kwargs) Construct an agent from an LLM and tools. -
Uses of Agent in com.hw.langchain.agents.mrkl.base
Modifier and TypeMethodDescriptionstatic Agent
ZeroShotAgent.fromLLMAndTools
(BaseLanguageModel llm, List<BaseTool> tools, AgentOutputParser outputParser, String prefix, String suffix, String formatInstructions, List<String> inputVariables, Map<String, Object> kwargs) Construct an agent from an LLM and tools.static Agent
ZeroShotAgent.fromLLMAndTools
(BaseLanguageModel llm, List<BaseTool> tools, Map<String, Object> kwargs) Construct an agent from an LLM and tools.