Package com.bytedesk.ai.utils.tools
Class WeatherTools
java.lang.Object
com.bytedesk.ai.utils.tools.WeatherTools
https://docs.spring.io/spring-ai/reference/api/tools.html#_dynamic_specification_bean
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CURRENT_WEATHER_TOOL
- See Also:
-
weatherService
WeatherService weatherService
-
-
Constructor Details
-
WeatherTools
WeatherTools()
-
-
Method Details
-
currentWeather
@Bean("currentWeather") @Description("Get the weather in location") Function<WeatherRequest,WeatherResponse> currentWeather()
-