Skip to content
Discussion options

You must be logged in to vote
  1. Does it rely solely on parameter and class names? 3. Does it only take into account the [Description("Description")] attributes on parameters and classes?

The class name, function names, and function parameter names are the main sources of method metadata shared with the model. The class name is used as the plugin name. Function names are provided to the AI as they are, unless an alternative name is specified via the KernelFunctionAttribute, i.e., [KernelFunction("my_function")], in which case the alternative name is provided to the model. It's also possible to provide additional context for each function using the DescriptionAttribute, i.e., [Description("Inserts a provided record in…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ADDrian-P
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
.NET Issue or Pull requests regarding .NET code function_calling
3 participants