0
到目前爲止,我是能夠避免硬編碼我LUIS應用標識,並通過執行鍵下面:指定LUIS對話框拼寫檢查,插槽編程
var luisService = new LuisService(new LuisModelAttribute(ConfigurationManager.AppSettings["LuisAppId"], ConfigurationManager.AppSettings["LuisAppKey"]));
context.Call(new LuisDialog(luisService), ResumeAfterDialog);
,然後讓我LUIS對話框聲明:
[Serializable]
public class LuisDialog : LuisDialog<object>
{
public LuisDialog(ILuisService ls) : base(ls)
{
}
....
}
}
但我也想能夠以編程方式在LuisModel屬性中設置SpellCheck = true,Log,Verbose和其他參數,有沒有辦法做到這一點?
感謝