AIFunctionNameAttribute Class

Definition

Specifies the name to use for an AIFunction.

public ref class AIFunctionNameAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public sealed class AIFunctionNameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type AIFunctionNameAttribute = class
    inherit Attribute
Public NotInheritable Class AIFunctionNameAttribute
Inherits Attribute
Inheritance
AIFunctionNameAttribute
Attributes

Remarks

The name is the identifier a model sees and uses to invoke a function. By default this is inferred from .NET metadata. Apply this attribute to use a different identifier.

Constructors

Name Description
AIFunctionNameAttribute(String)

Initializes a new instance of the AIFunctionNameAttribute class.

Properties

Name Description
Name

Gets the name to use for the function.

Applies to