Class FunctionsConfiguration

java.lang.Object
org.bsc.spring.agentexecutor.function.FunctionsConfiguration

@Configuration public class FunctionsConfiguration extends Object
  • Constructor Details

    • FunctionsConfiguration

      public FunctionsConfiguration(WeatherConfig props)
  • Method Details

    • currentWeatherFunction

      @Bean @Description("Get the current weather conditions for the given city.") public Function<WeatherFunction.Request,WeatherFunction.Response> currentWeatherFunction()
    • weatherFunctionCallback

      @Bean public org.springframework.ai.model.function.FunctionCallback weatherFunctionCallback()