QnAMaker Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| QnAMaker(QnAMakerEndpoint, QnAMakerOptions, HttpClient) |
Initialiseert een nieuw exemplaar van de QnAMaker klasse. |
| QnAMaker(QnAMakerService, QnAMakerOptions, HttpClient) |
Verouderd.
Initialiseert een nieuw exemplaar van de QnAMaker klasse. |
| QnAMaker(QnAMakerEndpoint, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean) |
Initialiseert een nieuw exemplaar van de QnAMaker klasse. |
| QnAMaker(QnAMakerService, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean) |
Verouderd.
Initialiseert een nieuw exemplaar van de QnAMaker klasse. |
QnAMaker(QnAMakerEndpoint, QnAMakerOptions, HttpClient)
Initialiseert een nieuw exemplaar van de QnAMaker klasse.
public QnAMaker (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.QnAMaker : Microsoft.Bot.Builder.AI.QnA.QnAMakerEndpoint * Microsoft.Bot.Builder.AI.QnA.QnAMakerOptions * System.Net.Http.HttpClient -> Microsoft.Bot.Builder.AI.QnA.QnAMaker
Public Sub New (endpoint As QnAMakerEndpoint, Optional options As QnAMakerOptions = Nothing, Optional httpClient As HttpClient = Nothing)
Parameters
- endpoint
- QnAMakerEndpoint
Het eindpunt van de Knowledge Base om een query uit te voeren.
- options
- QnAMakerOptions
De opties voor de QnA Maker-Knowledge Base.
- httpClient
- HttpClient
Een alternatieve client waarmee u met QnAMaker kunt praten. Als null is, wordt een standaardclient gebruikt voor dit exemplaar.
Van toepassing op
QnAMaker(QnAMakerService, QnAMakerOptions, HttpClient)
Waarschuwing
Constructor is deprecated, please use QnAMaker(QnAMakerEndpoint endpoint, QnAMakerOptions options, HttpClient httpClient).
Initialiseert een nieuw exemplaar van de QnAMaker klasse.
[System.Obsolete("Constructor is deprecated, please use QnAMaker(QnAMakerEndpoint endpoint, QnAMakerOptions options, HttpClient httpClient).")]
public QnAMaker (Microsoft.Bot.Configuration.QnAMakerService service, Microsoft.Bot.Builder.AI.QnA.QnAMakerOptions options = default, System.Net.Http.HttpClient httpClient = default);
[<System.Obsolete("Constructor is deprecated, please use QnAMaker(QnAMakerEndpoint endpoint, QnAMakerOptions options, HttpClient httpClient).")>]
new Microsoft.Bot.Builder.AI.QnA.QnAMaker : Microsoft.Bot.Configuration.QnAMakerService * Microsoft.Bot.Builder.AI.QnA.QnAMakerOptions * System.Net.Http.HttpClient -> Microsoft.Bot.Builder.AI.QnA.QnAMaker
Public Sub New (service As QnAMakerService, Optional options As QnAMakerOptions = Nothing, Optional httpClient As HttpClient = Nothing)
Parameters
- service
- QnAMakerService
QnA-servicedetails uit configuratie.
- options
- QnAMakerOptions
De opties voor de QnA Maker-Knowledge Base.
- httpClient
- HttpClient
Een alternatieve client waarmee u met QnAMaker kunt praten. Als null is, wordt een standaardclient gebruikt voor dit exemplaar.
- Kenmerken
Van toepassing op
QnAMaker(QnAMakerEndpoint, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean)
Initialiseert een nieuw exemplaar van de QnAMaker klasse.
public QnAMaker (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.QnAMaker : 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.QnAMaker
Public Sub New (endpoint As QnAMakerEndpoint, options As QnAMakerOptions, httpClient As HttpClient, telemetryClient As IBotTelemetryClient, Optional logPersonalInformation As Boolean = false)
Parameters
- endpoint
- QnAMakerEndpoint
Het eindpunt van de Knowledge Base om een query uit te voeren.
- options
- QnAMakerOptions
De opties voor de QnA Maker-Knowledge Base.
- httpClient
- HttpClient
Een alternatieve client waarmee u met QnAMaker 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
QnAMaker(QnAMakerService, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean)
Waarschuwing
Constructor is deprecated, please use QnAMaker(QnAMakerEndpoint endpoint, QnAMakerOptions options, HttpClient httpClient).
Initialiseert een nieuw exemplaar van de QnAMaker klasse.
[System.Obsolete("Constructor is deprecated, please use QnAMaker(QnAMakerEndpoint endpoint, QnAMakerOptions options, HttpClient httpClient).")]
public QnAMaker (Microsoft.Bot.Configuration.QnAMakerService service, Microsoft.Bot.Builder.AI.QnA.QnAMakerOptions options, System.Net.Http.HttpClient httpClient, Microsoft.Bot.Builder.IBotTelemetryClient telemetryClient, bool logPersonalInformation = false);
[<System.Obsolete("Constructor is deprecated, please use QnAMaker(QnAMakerEndpoint endpoint, QnAMakerOptions options, HttpClient httpClient).")>]
new Microsoft.Bot.Builder.AI.QnA.QnAMaker : Microsoft.Bot.Configuration.QnAMakerService * Microsoft.Bot.Builder.AI.QnA.QnAMakerOptions * System.Net.Http.HttpClient * Microsoft.Bot.Builder.IBotTelemetryClient * bool -> Microsoft.Bot.Builder.AI.QnA.QnAMaker
Public Sub New (service As QnAMakerService, options As QnAMakerOptions, httpClient As HttpClient, telemetryClient As IBotTelemetryClient, Optional logPersonalInformation As Boolean = false)
Parameters
- service
- QnAMakerService
QnA-servicedetails uit configuratie.
- options
- QnAMakerOptions
De opties voor de QnA Maker-Knowledge Base.
- httpClient
- HttpClient
Een alternatieve client waarmee u met QnAMaker 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.
- Kenmerken