LuisRecognizer Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
| Nazwa | Opis |
|---|---|
| LuisRecognizer(LuisRecognizerOptions, HttpClientHandler) |
Inicjuje nowe wystąpienie klasy LuisRecognizer. |
| LuisRecognizer(LuisApplication, LuisPredictionOptions, Boolean, HttpClientHandler) |
Przestarzałe.
Inicjuje nowe wystąpienie klasy LuisRecognizer. |
| LuisRecognizer(LuisService, LuisPredictionOptions, Boolean, HttpClientHandler) |
Przestarzałe.
Inicjuje nowe wystąpienie klasy LuisRecognizer. |
| LuisRecognizer(String, LuisPredictionOptions, Boolean, HttpClientHandler) |
Przestarzałe.
Inicjuje nowe wystąpienie klasy LuisRecognizer. |
| LuisRecognizer(LuisApplication, IBotTelemetryClient, Boolean, LuisPredictionOptions, Boolean, HttpClientHandler) |
Przestarzałe.
Inicjuje nowe wystąpienie klasy LuisRecognizer. |
LuisRecognizer(LuisRecognizerOptions, HttpClientHandler)
Inicjuje nowe wystąpienie klasy 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)
Parametry
- recognizerOptions
- LuisRecognizerOptions
Opcje wersji rozpoznawającego LUIS.
- clientHandler
- HttpClientHandler
(Opcjonalnie) Niestandardowy handler dla wywołań API LUIS, umożliwiający mocowanie.
Dotyczy
LuisRecognizer(LuisApplication, LuisPredictionOptions, Boolean, HttpClientHandler)
Uwaga
Constructor is deprecated, please use LuisRecognizer(LuisRecognizerOptions recognizer).
Inicjuje nowe wystąpienie klasy 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)
Parametry
- application
- LuisApplication
Aplikacja USŁUGI LUIS do rozpoznawania tekstu.
- predictionOptions
- LuisPredictionOptions
(Opcjonalnie) Opcje prognozowania LUIS do wykorzystania.
- includeApiResults
- Boolean
(Opcjonalnie) PRAWDA, że obejmuje surową odpowiedź API LUIS.
- clientHandler
- HttpClientHandler
(Opcjonalnie) Niestandardowy handler dla wywołań API LUIS, umożliwiający mocowanie.
- Atrybuty
Dotyczy
LuisRecognizer(LuisService, LuisPredictionOptions, Boolean, HttpClientHandler)
Uwaga
Constructor is deprecated, please use LuisRecognizer(LuisRecognizerOptions recognizer).
Inicjuje nowe wystąpienie klasy 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)
Parametry
- service
- LuisService
Usługa LUIS z konfiguracji.
- predictionOptions
- LuisPredictionOptions
(Opcjonalnie) Opcje prognozowania LUIS do wykorzystania.
- includeApiResults
- Boolean
(Opcjonalnie) PRAWDA, że obejmuje surową odpowiedź API LUIS.
- clientHandler
- HttpClientHandler
(Opcjonalnie) Niestandardowy handler dla wywołań API LUIS, umożliwiający mocowanie.
- Atrybuty
Dotyczy
LuisRecognizer(String, LuisPredictionOptions, Boolean, HttpClientHandler)
Uwaga
Constructor is deprecated, please use LuisRecognizer(LuisRecognizerOptions recognizer).
Inicjuje nowe wystąpienie klasy 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)
Parametry
- applicationEndpoint
- String
Punkt końcowy LUIS, jak pokazano w .https://luis.ai
- predictionOptions
- LuisPredictionOptions
(Opcjonalnie) Opcje prognozowania LUIS do wykorzystania.
- includeApiResults
- Boolean
(Opcjonalnie) PRAWDA, że obejmuje surową odpowiedź API LUIS.
- clientHandler
- HttpClientHandler
(Opcjonalnie) Niestandardowy handler dla wywołań API LUIS, umożliwiający mocowanie.
- Atrybuty
Dotyczy
LuisRecognizer(LuisApplication, IBotTelemetryClient, Boolean, LuisPredictionOptions, Boolean, HttpClientHandler)
Uwaga
Constructor is deprecated, please use LuisRecognizer(LuisRecognizerOptions recognizer).
Inicjuje nowe wystąpienie klasy 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)
Parametry
- application
- LuisApplication
Aplikacja USŁUGI LUIS do rozpoznawania tekstu.
- telemetryClient
- IBotTelemetryClient
Klient IBotTelemetryClient był używany do logowania zdarzenia LuisResult.
- logPersonalInformation
- Boolean
PRAWDA, że zawiera dane osobowe do identyfikacji.
- predictionOptions
- LuisPredictionOptions
(Opcjonalnie) Opcje prognozowania LUIS do wykorzystania.
- includeApiResults
- Boolean
(Opcjonalnie) PRAWDA, że obejmuje surową odpowiedź API LUIS.
- clientHandler
- HttpClientHandler
(Opcjonalnie) Niestandardowy handler dla wywołań API LUIS, umożliwiający mocowanie.
- Atrybuty