Uses of Class
com.hw.langchain.schema.AgentFinish
-
Uses of AgentFinish in com.hw.langchain.agents.agent
Modifier and TypeMethodDescriptionAgentExecutor.getToolReturn
(org.apache.commons.lang3.tuple.Pair<AgentAction, String> nextStepOutput) Check if the tool is a returning tool.Agent.returnStoppedResponse
(String earlyStoppingMethod, List<org.apache.commons.lang3.tuple.Pair<AgentAction, String>> intermediateSteps, Map<String, ?> kwargs) BaseSingleActionAgent.returnStoppedResponse
(String earlyStoppingMethod, List<org.apache.commons.lang3.tuple.Pair<AgentAction, String>> intermediateSteps, Map<String, ?> kwargs) Return response when agent has been stopped due to max iterations.Modifier and TypeMethodDescriptionAgentExecutor.processOutput
(AgentFinish output, List<org.apache.commons.lang3.tuple.Pair<AgentAction, String>> intermediateSteps)