AIParameterNameAttribute 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 schema name to use for an AIFunction parameter.
public ref class AIParameterNameAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)]
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public sealed class AIParameterNameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)>]
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type AIParameterNameAttribute = class
inherit Attribute
Public NotInheritable Class AIParameterNameAttribute
Inherits Attribute
- Inheritance
- Attributes
Remarks
The name is the identifier a model sees and uses when supplying an argument to a function. By default this is inferred from .NET metadata. Apply this attribute to use a different identifier.
Constructors
| Name | Description |
|---|---|
| AIParameterNameAttribute(String) |
Initializes a new instance of the AIParameterNameAttribute class. |
Properties
| Name | Description |
|---|---|
| Name |
Gets the schema name to use for the parameter. |