Files
VectorDBDemo/VoiceToFunctionDemo/FunctionInfo.cs
2025-10-17 02:46:25 +08:00

14 lines
488 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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; }
}
}