Delen via


CustomQuestionAnswering Constructors

Definitie

Overloads

CustomQuestionAnswering(QnAMakerEndpoint, QnAMakerOptions, HttpClient)

Initialiseert een nieuw exemplaar van de CustomQuestionAnswering klasse.

CustomQuestionAnswering(QnAMakerEndpoint, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean)

Initialiseert een nieuw exemplaar van de CustomQuestionAnswering klasse.

CustomQuestionAnswering(QnAMakerEndpoint, QnAMakerOptions, HttpClient)

Initialiseert een nieuw exemplaar van de CustomQuestionAnswering klasse.

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)

Parameters

endpoint
QnAMakerEndpoint

De QnAMakerEndpoint van de Knowledge Base om een query uit te voeren.

options
QnAMakerOptions

De QnAMakerOptions voor de Knowledge Base voor het beantwoorden van aangepaste vragen.

httpClient
HttpClient

Een alternatieve client waarmee u met Language Service kunt praten. Als null is, wordt een standaardclient gebruikt voor dit exemplaar.

Van toepassing op

CustomQuestionAnswering(QnAMakerEndpoint, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean)

Initialiseert een nieuw exemplaar van de CustomQuestionAnswering klasse.

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)

Parameters

endpoint
QnAMakerEndpoint

De QnAMakerEndpoint van de Knowledge Base om een query uit te voeren.

options
QnAMakerOptions

De QnAMakerOptions voor de Knowledge Base voor het beantwoorden van aangepaste vragen.

httpClient
HttpClient

Een alternatieve client waarmee u met Language Service kunt praten. Als null is, wordt een standaardclient gebruikt voor dit exemplaar.

telemetryClient
IBotTelemetryClient

De IBotTelemetryClient die wordt gebruikt voor het vastleggen van telemetrie-gebeurtenissen.

logPersonalInformation
Boolean

Stel in op true om persoonsgegevens op te nemen in telemetrie-gebeurtenissen.

Van toepassing op