Add File
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
package com.agentsflex.llm.siliconflow;
|
||||||
|
|
||||||
|
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 "阴转多云";
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user