Language

AIParameterNameAttribute クラス

定義

AIFunction パラメーターに使用するスキーマ名を指定します。

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)]
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
[<System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)>]
type AIParameterNameAttribute = class
    inherit Attribute
Public NotInheritable Class AIParameterNameAttribute
Inherits Attribute
継承
AIParameterNameAttribute
属性

注釈

名前は、モデルが関数に引数を指定するときに見て使用する識別子です。 既定では、これは.NETメタデータから推論されます。 別の識別子を使用するには、この属性を適用します。

コンストラクター

名前 説明
AIParameterNameAttribute(String)

AIParameterNameAttribute クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
Name

パラメーターに使用するスキーマ名を取得します。

適用対象