CustomQuestionAnswering Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CustomQuestionAnswering(QnAMakerEndpoint, QnAMakerOptions, HttpClient) |
Initializes a new instance of the CustomQuestionAnswering class. |
CustomQuestionAnswering(QnAMakerEndpoint, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean) |
Initializes a new instance of the CustomQuestionAnswering class. |
CustomQuestionAnswering(QnAMakerEndpoint, QnAMakerOptions, HttpClient)
Initializes a new instance of the CustomQuestionAnswering class.
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
The QnAMakerEndpoint of the knowledge base to query.
- options
- QnAMakerOptions
The QnAMakerOptions for the Custom Question Answering Knowledge Base.
- httpClient
- HttpClient
An alternate client with which to talk to Language Service. If null, a default client is used for this instance.
Applies to
CustomQuestionAnswering(QnAMakerEndpoint, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean)
Initializes a new instance of the CustomQuestionAnswering class.
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
The QnAMakerEndpoint of the knowledge base to query.
- options
- QnAMakerOptions
The QnAMakerOptions for the Custom Question Answering Knowledge Base.
- httpClient
- HttpClient
An alternate client with which to talk to Language Service. If null, a default client is used for this instance.
- telemetryClient
- IBotTelemetryClient
The IBotTelemetryClient used for logging telemetry events.
- logPersonalInformation
- Boolean
Set to true to include personally identifiable information in telemetry events.