Table of Contents

Class LMFunctionAttribute

Namespace
LMKit.FunctionCalling
Assembly
LM-Kit.NET.dll

Represents an attribute that can be applied to methods to indicate they must be considered during the function calling context. This attribute helps in identifying and invoking specific methods dynamically within the LM-Kit framework.

[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public class LMFunctionAttribute : Attribute
Inheritance
LMFunctionAttribute
Inherited Members

Constructors

LMFunctionAttribute(string, string)

Initializes a new instance of the LMFunctionAttribute class with the specified function name and description.

Properties

Description

Gets the description of the function. This provides additional information about the purpose and usage of the function.

Name

Gets the name of the function. This name is used to reference and invoke the method dynamically.