Spring AI学习:工具调用实践(基于和风天气api)
工具调用总体实现:
设计工具类: Component
public class WeatherInquiryTools {Autowiredprivate WeatherService weatherService;Tool(description "根据城市名称查询城市LocationID")public String getLocationId(ToolParam(description …
2026/6/30 22:24:27