Compartilhar via


LuisRecognizer Construtores

Definição

Sobrecargas

LuisRecognizer(LuisRecognizerOptions, HttpClientHandler)

Inicializa uma nova instância da classe LuisRecognizer.

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

Inicializa uma nova instância da classe LuisRecognizer.

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

Inicializa uma nova instância da classe LuisRecognizer.

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

Inicializa uma nova instância da classe LuisRecognizer.

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

Inicializa uma nova instância da classe LuisRecognizer.

LuisRecognizer(LuisRecognizerOptions, HttpClientHandler)

Inicializa uma nova instância da 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)

Parâmetros

recognizerOptions
LuisRecognizerOptions

As opções de versão do reconhecedor do LUIS.

clientHandler
HttpClientHandler

(Opcional) Manipulador personalizado para chamadas à API do LUIS para permitir a simulação.

Aplica-se a

LuisRecognizer(LuisApplication, LuisPredictionOptions, Boolean, HttpClientHandler)

Cuidado

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

Inicializa uma nova instância da 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)

Parâmetros

application
LuisApplication

O aplicativo LUIS a ser usado para reconhecer texto.

predictionOptions
LuisPredictionOptions

(Opcional) As opções de previsão do LUIS a serem usadas.

includeApiResults
Boolean

(Opcional) TRUE para incluir a resposta bruta da API do LUIS.

clientHandler
HttpClientHandler

(Opcional) Manipulador personalizado para chamadas à API do LUIS para permitir a simulação.

Atributos

Aplica-se a

LuisRecognizer(LuisService, LuisPredictionOptions, Boolean, HttpClientHandler)

Cuidado

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

Inicializa uma nova instância da 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)

Parâmetros

service
LuisService

O serviço LUIS da configuração.

predictionOptions
LuisPredictionOptions

(Opcional) As opções de previsão do LUIS a serem usadas.

includeApiResults
Boolean

(Opcional) TRUE para incluir a resposta bruta da API do LUIS.

clientHandler
HttpClientHandler

(Opcional) Manipulador personalizado para chamadas à API do LUIS para permitir a simulação.

Atributos

Aplica-se a

LuisRecognizer(String, LuisPredictionOptions, Boolean, HttpClientHandler)

Cuidado

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

Inicializa uma nova instância da 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)

Parâmetros

applicationEndpoint
String

O ponto de extremidade luis, conforme mostrado em https://luis.ai .

predictionOptions
LuisPredictionOptions

(Opcional) As opções de previsão do LUIS a serem usadas.

includeApiResults
Boolean

(Opcional) TRUE para incluir a resposta bruta da API do LUIS.

clientHandler
HttpClientHandler

(Opcional) Manipulador personalizado para chamadas à API do LUIS para permitir a simulação.

Atributos

Aplica-se a

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

Cuidado

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

Inicializa uma nova instância da 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)

Parâmetros

application
LuisApplication

O aplicativo LUIS a ser usado para reconhecer texto.

telemetryClient
IBotTelemetryClient

O IBotTelemetryClient usado para registrar o evento LuisResult.

logPersonalInformation
Boolean

TRUE para incluir informações indentificáveis pessoalmente.

predictionOptions
LuisPredictionOptions

(Opcional) As opções de previsão do LUIS a serem usadas.

includeApiResults
Boolean

(Opcional) TRUE para incluir a resposta bruta da API do LUIS.

clientHandler
HttpClientHandler

(Opcional) Manipulador personalizado para chamadas à API do LUIS para permitir a simulação.

Atributos

Aplica-se a