Freigeben über


LuisRecognizer Konstruktoren

Definition

Überlädt

LuisRecognizer(LuisRecognizerOptions, HttpClientHandler)

Initialisiert eine neue Instanz der LuisRecognizer-Klasse.

LuisRecognizer(LuisApplication, LuisPredictionOptions, Boolean, HttpClientHandler)
Veraltet.

Initialisiert eine neue Instanz der LuisRecognizer-Klasse.

LuisRecognizer(LuisService, LuisPredictionOptions, Boolean, HttpClientHandler)
Veraltet.

Initialisiert eine neue Instanz der LuisRecognizer-Klasse.

LuisRecognizer(String, LuisPredictionOptions, Boolean, HttpClientHandler)
Veraltet.

Initialisiert eine neue Instanz der LuisRecognizer-Klasse.

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

Initialisiert eine neue Instanz der LuisRecognizer-Klasse.

LuisRecognizer(LuisRecognizerOptions, HttpClientHandler)

Initialisiert eine neue Instanz der LuisRecognizer-Klasse.

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)

Parameter

recognizerOptions
LuisRecognizerOptions

Die Versionsoptionen der LUIS-Erkennung.

clientHandler
HttpClientHandler

(Optional) Benutzerdefinierter Handler für LUIS-API-Aufrufe, um Mocking zuzulassen.

Gilt für:

LuisRecognizer(LuisApplication, LuisPredictionOptions, Boolean, HttpClientHandler)

Achtung

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

Initialisiert eine neue Instanz der LuisRecognizer-Klasse.

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

Parameter

application
LuisApplication

Die LUIS-Anwendung, die zum Erkennen von Text verwendet werden soll.

predictionOptions
LuisPredictionOptions

(Optional) Die zu verwendenden LUIS-Vorhersageoptionen.

includeApiResults
Boolean

(Optional) TRUE, um eine unformatierte LUIS-API-Antwort einzuschließen.

clientHandler
HttpClientHandler

(Optional) Benutzerdefinierter Handler für LUIS-API-Aufrufe, um Mocking zuzulassen.

Attribute

Gilt für:

LuisRecognizer(LuisService, LuisPredictionOptions, Boolean, HttpClientHandler)

Achtung

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

Initialisiert eine neue Instanz der LuisRecognizer-Klasse.

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

Parameter

service
LuisService

Der LUIS-Dienst aus der Konfiguration.

predictionOptions
LuisPredictionOptions

(Optional) Die zu verwendenden LUIS-Vorhersageoptionen.

includeApiResults
Boolean

(Optional) TRUE, um eine unformatierte LUIS-API-Antwort einzuschließen.

clientHandler
HttpClientHandler

(Optional) Benutzerdefinierter Handler für LUIS-API-Aufrufe, um Mocking zuzulassen.

Attribute

Gilt für:

LuisRecognizer(String, LuisPredictionOptions, Boolean, HttpClientHandler)

Achtung

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

Initialisiert eine neue Instanz der LuisRecognizer-Klasse.

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

Parameter

applicationEndpoint
String

Der LUIS-Endpunkt, wie in https://luis.ai dargestellt.

predictionOptions
LuisPredictionOptions

(Optional) Die zu verwendenden LUIS-Vorhersageoptionen.

includeApiResults
Boolean

(Optional) TRUE, um eine unformatierte LUIS-API-Antwort einzuschließen.

clientHandler
HttpClientHandler

(Optional) Benutzerdefinierter Handler für LUIS-API-Aufrufe, um Mocking zuzulassen.

Attribute

Gilt für:

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

Achtung

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

Initialisiert eine neue Instanz der LuisRecognizer-Klasse.

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

Parameter

application
LuisApplication

Die LUIS-Anwendung, die zum Erkennen von Text verwendet werden soll.

telemetryClient
IBotTelemetryClient

Der IBotTelemetryClient, der zum Protokollieren des LuisResult-Ereignisses verwendet wird.

logPersonalInformation
Boolean

TRUE, um persönlich eindrückbare Informationen aufzunehmen.

predictionOptions
LuisPredictionOptions

(Optional) Die zu verwendenden LUIS-Vorhersageoptionen.

includeApiResults
Boolean

(Optional) TRUE, um eine unformatierte LUIS-API-Antwort einzuschließen.

clientHandler
HttpClientHandler

(Optional) Benutzerdefinierter Handler für LUIS-API-Aufrufe, um Mocking zuzulassen.

Attribute

Gilt für: