添加注释添加项目文件。

This commit is contained in:
ShaoHua
2025-10-17 02:39:47 +08:00
parent e94dab2050
commit 183177043f
14 changed files with 822 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
namespace VoiceToFunction
{
// 函数信息模型(新增参数类型描述,用于校验)
public class FunctionInfo
{
public string Name { get; set; }
public string Description { get; set; }
public List<string> Synonyms { get; set; }
public int MinParams { get; set; }
public List<Type> ParamTypes { get; set; } // 参数类型列表(如double[], List<User>
public Func<object[], object> Execute { get; set; }
}
}