语言

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
属性
实现

构造函数

名称 说明
LuisModelAttribute(String, String, LuisApiVersion, String, Double)

构建LUIS模型信息。

属性

名称 说明
ApiVersion

调用查询API的版本。

BingSpellCheckSubscriptionKey

必应拼写检查订阅密钥。

Domain

LUIS应用所在的域名。

Log

指示是否允许将查询记录到LUIS。

ModelID

LUIS模型的GUID。

SpellCheck

开启拼写检查。

Staging

使用临时终端。

SubscriptionKey

LUIS的订阅密钥。

Threshold

最高得分意图的门槛

TimezoneOffset

时区错置。

UriBase

LUIS通话用基础URI。

Verbose

冗长的旗帜。

方法

名称 说明
Equals(ILuisModel)

LUIS模型信息。

Equals(Object)

LUIS模型信息。

GetHashCode()

LUIS模型信息。

ModifyRequest(LuisRequest)

LUIS模型信息。

UriFor(LuisApiVersion, String)

LUIS模型信息。

显式接口实现

名称 说明
ILuisOptions.BingSpellCheckSubscriptionKey

LUIS模型信息。

ILuisOptions.Log

LUIS模型信息。

ILuisOptions.SpellCheck

LUIS模型信息。

ILuisOptions.Staging

LUIS模型信息。

ILuisOptions.TimezoneOffset

LUIS模型信息。

ILuisOptions.Verbose

LUIS模型信息。

扩展方法

名称 说明
Apply(ILuisOptions, ILuisOptions)

LUIS模型信息。

适用于