CustomQuestionAnswering 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 |
|---|---|
| CustomQuestionAnswering(QnAMakerEndpoint, QnAMakerOptions, HttpClient) |
Inicjuje nowe wystąpienie klasy CustomQuestionAnswering. |
| CustomQuestionAnswering(QnAMakerEndpoint, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean) |
Inicjuje nowe wystąpienie klasy CustomQuestionAnswering. |
CustomQuestionAnswering(QnAMakerEndpoint, QnAMakerOptions, HttpClient)
Inicjuje nowe wystąpienie klasy CustomQuestionAnswering.
public CustomQuestionAnswering(Microsoft.Bot.Builder.AI.QnA.QnAMakerEndpoint endpoint, Microsoft.Bot.Builder.AI.QnA.QnAMakerOptions options = default, System.Net.Http.HttpClient httpClient = default);
new Microsoft.Bot.Builder.AI.QnA.CustomQuestionAnswering : Microsoft.Bot.Builder.AI.QnA.QnAMakerEndpoint * Microsoft.Bot.Builder.AI.QnA.QnAMakerOptions * System.Net.Http.HttpClient -> Microsoft.Bot.Builder.AI.QnA.CustomQuestionAnswering
Public Sub New (endpoint As QnAMakerEndpoint, Optional options As QnAMakerOptions = Nothing, Optional httpClient As HttpClient = Nothing)
Parametry
- endpoint
- QnAMakerEndpoint
Baza QnAMakerEndpoint wiedzy do zapytań.
- options
- QnAMakerOptions
Dla QnAMakerOptions niestandardowej bazy wiedzy do odpowiadania na pytania.
- httpClient
- HttpClient
Alternatywny klient, z którym można rozmawiać z Language Service. Jeśli null, używa się domyślnego klienta dla tej instancji.
Dotyczy
CustomQuestionAnswering(QnAMakerEndpoint, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean)
Inicjuje nowe wystąpienie klasy CustomQuestionAnswering.
public CustomQuestionAnswering(Microsoft.Bot.Builder.AI.QnA.QnAMakerEndpoint endpoint, Microsoft.Bot.Builder.AI.QnA.QnAMakerOptions options, System.Net.Http.HttpClient httpClient, Microsoft.Bot.Builder.IBotTelemetryClient telemetryClient, bool logPersonalInformation = false);
new Microsoft.Bot.Builder.AI.QnA.CustomQuestionAnswering : Microsoft.Bot.Builder.AI.QnA.QnAMakerEndpoint * Microsoft.Bot.Builder.AI.QnA.QnAMakerOptions * System.Net.Http.HttpClient * Microsoft.Bot.Builder.IBotTelemetryClient * bool -> Microsoft.Bot.Builder.AI.QnA.CustomQuestionAnswering
Public Sub New (endpoint As QnAMakerEndpoint, options As QnAMakerOptions, httpClient As HttpClient, telemetryClient As IBotTelemetryClient, Optional logPersonalInformation As Boolean = false)
Parametry
- endpoint
- QnAMakerEndpoint
Baza QnAMakerEndpoint wiedzy do zapytań.
- options
- QnAMakerOptions
Dla QnAMakerOptions niestandardowej bazy wiedzy do odpowiadania na pytania.
- httpClient
- HttpClient
Alternatywny klient, z którym można rozmawiać z Language Service. Jeśli null, używa się domyślnego klienta dla tej instancji.
- telemetryClient
- IBotTelemetryClient
IBotTelemetryClient używany do rejestrowania zdarzeń telemetrycznych.
- logPersonalInformation
- Boolean
Ustaw na true, aby uwzględnić dane osobowe w zdarzeniach telemetrycznych.