weiwang

Results 2 comments of weiwang

> API调用接口也可以的,中间步骤都执行掉了只有结果 你好,有办法判断是否执行了工具吗,从代码看和模型吐出的结构看“weather_check”这个工具词是对应上的,但是final answer的时候,还是要通过weather_check tool去查下,那是不是这就不是final answer,需要代码再做下一步工作,要判断是否模型answer里面是不是包含动作和tool匹配的工具名,然后再执行工具操作,然后再返回到前端?

> 自定义对话选择agent模式,输入查询北京天气后台不能成功查询,后台打印 > > > Entering new AgentExecutor chain... Action: `{"action": "Final Answer", "action_input": "I will use the weather_check tool to check the weather in Beijing.\n"}` > Finished chain. >...