Update to 1.0 M5 release
This commit is contained in:
@@ -57,10 +57,10 @@ public class SpringAiJavaFunctionCallbackApplication {
|
||||
@Bean
|
||||
public FunctionCallback weatherFunctionInfo(Function<WeatherRequest, WeatherResponse> currentWeather) {
|
||||
return FunctionCallback.builder()
|
||||
.function("WeatherInfo", currentWeather)
|
||||
.description(
|
||||
"Find the weather conditions, forecasts, and temperatures for a location, like a city or state."
|
||||
)
|
||||
.function("WeatherInfo", currentWeather)
|
||||
.inputType(WeatherRequest.class)
|
||||
.build();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user