Språk

LuisRecognizer Konstruktorer

Definition

Överlagringar

LuisRecognizer(LuisRecognizerOptions, HttpClientHandler)

Initierar en ny instans av LuisRecognizer klassen.

public LuisRecognizer(Microsoft.Bot.Builder.AI.Luis.LuisRecognizerOptions recognizerOptions, System.Net.Http.HttpClientHandler clientHandler = default);
new Microsoft.Bot.Builder.AI.Luis.LuisRecognizer : Microsoft.Bot.Builder.AI.Luis.LuisRecognizerOptions * System.Net.Http.HttpClientHandler -> Microsoft.Bot.Builder.AI.Luis.LuisRecognizer
Public Sub New (recognizerOptions As LuisRecognizerOptions, Optional clientHandler As HttpClientHandler = Nothing)

Parametrar

recognizerOptions
LuisRecognizerOptions

LUIS-igenkännarversionen.

clientHandler
HttpClientHandler

(Valfritt) Anpassad hanterare för LUIS API-anrop för att tillåta mocking.

Gäller för

LuisRecognizer(LuisApplication, LuisPredictionOptions, Boolean, HttpClientHandler)

Varning

Constructor is deprecated, please use LuisRecognizer(LuisRecognizerOptions recognizer).

Initierar en ny instans av LuisRecognizer klassen.

[System.Obsolete("Constructor is deprecated, please use LuisRecognizer(LuisRecognizerOptions recognizer).")]
public LuisRecognizer(Microsoft.Bot.Builder.AI.Luis.LuisApplication application, Microsoft.Bot.Builder.AI.Luis.LuisPredictionOptions predictionOptions = default, bool includeApiResults = false, System.Net.Http.HttpClientHandler clientHandler = default);
[<System.Obsolete("Constructor is deprecated, please use LuisRecognizer(LuisRecognizerOptions recognizer).")>]
new Microsoft.Bot.Builder.AI.Luis.LuisRecognizer : Microsoft.Bot.Builder.AI.Luis.LuisApplication * Microsoft.Bot.Builder.AI.Luis.LuisPredictionOptions * bool * System.Net.Http.HttpClientHandler -> Microsoft.Bot.Builder.AI.Luis.LuisRecognizer
Public Sub New (application As LuisApplication, Optional predictionOptions As LuisPredictionOptions = Nothing, Optional includeApiResults As Boolean = false, Optional clientHandler As HttpClientHandler = Nothing)

Parametrar

application
LuisApplication

LUIS-programmet som ska användas för att identifiera text.

predictionOptions
LuisPredictionOptions

(Valfritt) LUIS-prediktionsalternativen att använda.

includeApiResults
Boolean

(Valfritt) SANT för att inkludera rå LUIS API-respons.

clientHandler
HttpClientHandler

(Valfritt) Anpassad hanterare för LUIS API-anrop för att tillåta mocking.

Attribut

Gäller för

LuisRecognizer(LuisService, LuisPredictionOptions, Boolean, HttpClientHandler)

Varning

Constructor is deprecated, please use LuisRecognizer(LuisRecognizerOptions recognizer).

Initierar en ny instans av LuisRecognizer klassen.

[System.Obsolete("Constructor is deprecated, please use LuisRecognizer(LuisRecognizerOptions recognizer).")]
public LuisRecognizer(Microsoft.Bot.Configuration.LuisService service, Microsoft.Bot.Builder.AI.Luis.LuisPredictionOptions predictionOptions = default, bool includeApiResults = false, System.Net.Http.HttpClientHandler clientHandler = default);
[<System.Obsolete("Constructor is deprecated, please use LuisRecognizer(LuisRecognizerOptions recognizer).")>]
new Microsoft.Bot.Builder.AI.Luis.LuisRecognizer : Microsoft.Bot.Configuration.LuisService * Microsoft.Bot.Builder.AI.Luis.LuisPredictionOptions * bool * System.Net.Http.HttpClientHandler -> Microsoft.Bot.Builder.AI.Luis.LuisRecognizer
Public Sub New (service As LuisService, Optional predictionOptions As LuisPredictionOptions = Nothing, Optional includeApiResults As Boolean = false, Optional clientHandler As HttpClientHandler = Nothing)

Parametrar

service
LuisService

LUIS-tjänsten från konfiguration.

predictionOptions
LuisPredictionOptions

(Valfritt) LUIS-prediktionsalternativen att använda.

includeApiResults
Boolean

(Valfritt) SANT för att inkludera rå LUIS API-respons.

clientHandler
HttpClientHandler

(Valfritt) Anpassad hanterare för LUIS API-anrop för att tillåta mocking.

Attribut

Gäller för

LuisRecognizer(String, LuisPredictionOptions, Boolean, HttpClientHandler)

Varning

Constructor is deprecated, please use LuisRecognizer(LuisRecognizerOptions recognizer).

Initierar en ny instans av LuisRecognizer klassen.

[System.Obsolete("Constructor is deprecated, please use LuisRecognizer(LuisRecognizerOptions recognizer).")]
public LuisRecognizer(string applicationEndpoint, Microsoft.Bot.Builder.AI.Luis.LuisPredictionOptions predictionOptions = default, bool includeApiResults = false, System.Net.Http.HttpClientHandler clientHandler = default);
[<System.Obsolete("Constructor is deprecated, please use LuisRecognizer(LuisRecognizerOptions recognizer).")>]
new Microsoft.Bot.Builder.AI.Luis.LuisRecognizer : string * Microsoft.Bot.Builder.AI.Luis.LuisPredictionOptions * bool * System.Net.Http.HttpClientHandler -> Microsoft.Bot.Builder.AI.Luis.LuisRecognizer
Public Sub New (applicationEndpoint As String, Optional predictionOptions As LuisPredictionOptions = Nothing, Optional includeApiResults As Boolean = false, Optional clientHandler As HttpClientHandler = Nothing)

Parametrar

applicationEndpoint
String

LUIS-ändpunkten som visas i https://luis.ai .

predictionOptions
LuisPredictionOptions

(Valfritt) LUIS-prediktionsalternativen att använda.

includeApiResults
Boolean

(Valfritt) SANT för att inkludera rå LUIS API-respons.

clientHandler
HttpClientHandler

(Valfritt) Anpassad hanterare för LUIS API-anrop för att tillåta mocking.

Attribut

Gäller för

LuisRecognizer(LuisApplication, IBotTelemetryClient, Boolean, LuisPredictionOptions, Boolean, HttpClientHandler)

Varning

Constructor is deprecated, please use LuisRecognizer(LuisRecognizerOptions recognizer).

Initierar en ny instans av LuisRecognizer klassen.

[System.Obsolete("Constructor is deprecated, please use LuisRecognizer(LuisRecognizerOptions recognizer).")]
public LuisRecognizer(Microsoft.Bot.Builder.AI.Luis.LuisApplication application, Microsoft.Bot.Builder.IBotTelemetryClient telemetryClient, bool logPersonalInformation, Microsoft.Bot.Builder.AI.Luis.LuisPredictionOptions predictionOptions = default, bool includeApiResults = false, System.Net.Http.HttpClientHandler clientHandler = default);
[<System.Obsolete("Constructor is deprecated, please use LuisRecognizer(LuisRecognizerOptions recognizer).")>]
new Microsoft.Bot.Builder.AI.Luis.LuisRecognizer : Microsoft.Bot.Builder.AI.Luis.LuisApplication * Microsoft.Bot.Builder.IBotTelemetryClient * bool * Microsoft.Bot.Builder.AI.Luis.LuisPredictionOptions * bool * System.Net.Http.HttpClientHandler -> Microsoft.Bot.Builder.AI.Luis.LuisRecognizer
Public Sub New (application As LuisApplication, telemetryClient As IBotTelemetryClient, logPersonalInformation As Boolean, Optional predictionOptions As LuisPredictionOptions = Nothing, Optional includeApiResults As Boolean = false, Optional clientHandler As HttpClientHandler = Nothing)

Parametrar

application
LuisApplication

LUIS-programmet som ska användas för att identifiera text.

telemetryClient
IBotTelemetryClient

IBotTelemetryClient användes för att logga LuisResult-händelsen.

logPersonalInformation
Boolean

SANT att inkludera personligt identifierbar information.

predictionOptions
LuisPredictionOptions

(Valfritt) LUIS-prediktionsalternativen att använda.

includeApiResults
Boolean

(Valfritt) SANT för att inkludera rå LUIS API-respons.

clientHandler
HttpClientHandler

(Valfritt) Anpassad hanterare för LUIS API-anrop för att tillåta mocking.

Attribut

Gäller för