LuisModelAttribute(String, String, LuisApiVersion, String, Double) Constructor
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.
Construct the LUIS model information.
public LuisModelAttribute (string modelID, string subscriptionKey, Microsoft.Bot.Builder.Luis.LuisApiVersion apiVersion = Microsoft.Bot.Builder.Luis.LuisApiVersion.V2, string domain = default, double threshold = 0);
new Microsoft.Bot.Builder.Luis.LuisModelAttribute : string * string * Microsoft.Bot.Builder.Luis.LuisApiVersion * string * double -> Microsoft.Bot.Builder.Luis.LuisModelAttribute
Public Sub New (modelID As String, subscriptionKey As String, Optional apiVersion As LuisApiVersion = Microsoft.Bot.Builder.Luis.LuisApiVersion.V2, Optional domain As String = Nothing, Optional threshold As Double = 0)
Parameters
- modelID
- String
The LUIS model ID.
- subscriptionKey
- String
The LUIS subscription key.
- apiVersion
- LuisApiVersion
The LUIS API version.
- domain
- String
Domain where LUIS model is located.
- threshold
- Double
Threshold for the top scoring intent.