AIFunctionNameAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |