This commit is contained in:
2025-08-27 19:57:30 +08:00
parent f42fbc82db
commit f6286d1ac1

View File

@@ -0,0 +1,14 @@
package com.agentsflex.llm.qianfan;
import com.agentsflex.core.llm.functions.annotation.FunctionDef;
import com.agentsflex.core.llm.functions.annotation.FunctionParam;
public class WeatherFunctions {
@FunctionDef(name = "get_the_weather_info", description = "get the weather info")
public static String getWeatherInfo(
@FunctionParam(name = "city", description = "the city name") String name
) {
return "Today it will be dull and overcast in " + name;
}
}