Package com.bytedesk.ai.tools
Class WeatherService
java.lang.Object
com.bytedesk.ai.tools.WeatherService
- All Implemented Interfaces:
Function<WeatherRequest,WeatherResponse>
https://docs.spring.io/spring-ai/reference/api/tools.html#_functions_as_tools
-
Constructor Details
-
WeatherService
public WeatherService()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<WeatherRequest,WeatherResponse>
-