語言

LuisModelAttribute 類別

定義

LUIS 模型資訊。

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface | System.AttributeTargets.Method, AllowMultiple=true)]
[System.Serializable]
public class LuisModelAttribute : Attribute, IEquatable<Microsoft.Bot.Builder.Luis.ILuisModel>, Microsoft.Bot.Builder.Luis.ILuisModel, Microsoft.Bot.Builder.Luis.ILuisOptions
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface | System.AttributeTargets.Method, AllowMultiple=true)>]
[<System.Serializable>]
type LuisModelAttribute = class
    inherit Attribute
    interface ILuisModel
    interface ILuisOptions
    interface IEquatable<ILuisModel>
Public Class LuisModelAttribute
Inherits Attribute
Implements IEquatable(Of ILuisModel), ILuisModel, ILuisOptions
繼承
LuisModelAttribute
屬性
實作

建構函式

名稱 Description
LuisModelAttribute(String, String, LuisApiVersion, String, Double)

構建LUIS模型資訊。

屬性

名稱 Description
ApiVersion

要呼叫的查詢 API 版本。

BingSpellCheckSubscriptionKey

Bing 拼字檢查訂閱金鑰。

Domain

LUIS 應用程式所在的網域。

Log

指示是否允許將查詢記錄到 LUIS。

ModelID

LUIS 模型的 GUID。

SpellCheck

開啟拼字檢查功能。

Staging

使用暫存端點。

SubscriptionKey

LUIS 的訂閱金鑰。

Threshold

最高得分意圖的門檻

TimezoneOffset

時區偏移。

UriBase

LUIS 通話的基礎 URI。

Verbose

冗長的旗幟。

方法

名稱 Description
Equals(ILuisModel)

LUIS 模型資訊。

Equals(Object)

LUIS 模型資訊。

GetHashCode()

LUIS 模型資訊。

ModifyRequest(LuisRequest)

LUIS 模型資訊。

UriFor(LuisApiVersion, String)

LUIS 模型資訊。

明確介面實作

名稱 Description
ILuisOptions.BingSpellCheckSubscriptionKey

LUIS 模型資訊。

ILuisOptions.Log

LUIS 模型資訊。

ILuisOptions.SpellCheck

LUIS 模型資訊。

ILuisOptions.Staging

LUIS 模型資訊。

ILuisOptions.TimezoneOffset

LUIS 模型資訊。

ILuisOptions.Verbose

LUIS 模型資訊。

擴充方法

名稱 Description
Apply(ILuisOptions, ILuisOptions)

LUIS 模型資訊。

適用於