Partager via


LuisRecognizer Constructeurs

Définition

Surcharges

LuisRecognizer(LuisRecognizerOptions, HttpClientHandler)

Initialise une nouvelle instance de la classe LuisRecognizer.

LuisRecognizer(LuisApplication, LuisPredictionOptions, Boolean, HttpClientHandler)
Obsolète.

Initialise une nouvelle instance de la classe LuisRecognizer.

LuisRecognizer(LuisService, LuisPredictionOptions, Boolean, HttpClientHandler)
Obsolète.

Initialise une nouvelle instance de la classe LuisRecognizer.

LuisRecognizer(String, LuisPredictionOptions, Boolean, HttpClientHandler)
Obsolète.

Initialise une nouvelle instance de la classe LuisRecognizer.

LuisRecognizer(LuisApplication, IBotTelemetryClient, Boolean, LuisPredictionOptions, Boolean, HttpClientHandler)
Obsolète.

Initialise une nouvelle instance de la classe LuisRecognizer.

LuisRecognizer(LuisRecognizerOptions, HttpClientHandler)

Initialise une nouvelle instance de la classe LuisRecognizer.

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)

Paramètres

recognizerOptions
LuisRecognizerOptions

Options de version du module de reconnaissance LUIS.

clientHandler
HttpClientHandler

(Facultatif) Gestionnaire personnalisé pour les appels d’API LUIS afin d’autoriser la simulation.

S’applique à

LuisRecognizer(LuisApplication, LuisPredictionOptions, Boolean, HttpClientHandler)

Attention

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

Initialise une nouvelle instance de la classe LuisRecognizer.

[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)

Paramètres

application
LuisApplication

Application LUIS à utiliser pour reconnaître du texte.

predictionOptions
LuisPredictionOptions

(Facultatif) Options de prédiction LUIS à utiliser.

includeApiResults
Boolean

(Facultatif) TRUE pour inclure la réponse brute de l’API LUIS.

clientHandler
HttpClientHandler

(Facultatif) Gestionnaire personnalisé pour les appels d’API LUIS afin d’autoriser la simulation.

Attributs

S’applique à

LuisRecognizer(LuisService, LuisPredictionOptions, Boolean, HttpClientHandler)

Attention

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

Initialise une nouvelle instance de la classe LuisRecognizer.

[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)

Paramètres

service
LuisService

Service LUIS de la configuration.

predictionOptions
LuisPredictionOptions

(Facultatif) Options de prédiction LUIS à utiliser.

includeApiResults
Boolean

(Facultatif) TRUE pour inclure la réponse brute de l’API LUIS.

clientHandler
HttpClientHandler

(Facultatif) Gestionnaire personnalisé pour les appels d’API LUIS afin d’autoriser la simulation.

Attributs

S’applique à

LuisRecognizer(String, LuisPredictionOptions, Boolean, HttpClientHandler)

Attention

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

Initialise une nouvelle instance de la classe LuisRecognizer.

[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)

Paramètres

applicationEndpoint
String

Point de terminaison LUIS comme indiqué dans https://luis.ai .

predictionOptions
LuisPredictionOptions

(Facultatif) Options de prédiction LUIS à utiliser.

includeApiResults
Boolean

(Facultatif) TRUE pour inclure la réponse brute de l’API LUIS.

clientHandler
HttpClientHandler

(Facultatif) Gestionnaire personnalisé pour les appels d’API LUIS afin d’autoriser la simulation.

Attributs

S’applique à

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

Attention

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

Initialise une nouvelle instance de la classe LuisRecognizer.

[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)

Paramètres

application
LuisApplication

Application LUIS à utiliser pour reconnaître du texte.

telemetryClient
IBotTelemetryClient

IBotTelemetryClient utilisé pour journaliser l’événement LuisResult.

logPersonalInformation
Boolean

TRUE pour inclure des informations identifiables personnellement.

predictionOptions
LuisPredictionOptions

(Facultatif) Options de prédiction LUIS à utiliser.

includeApiResults
Boolean

(Facultatif) TRUE pour inclure la réponse brute de l’API LUIS.

clientHandler
HttpClientHandler

(Facultatif) Gestionnaire personnalisé pour les appels d’API LUIS afin d’autoriser la simulation.

Attributs

S’applique à