QnAMaker Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| QnAMaker(QnAMakerEndpoint, QnAMakerOptions, HttpClient) |
Initialisiert eine neue Instanz der QnAMaker-Klasse. |
| QnAMaker(QnAMakerService, QnAMakerOptions, HttpClient) |
Veraltet.
Initialisiert eine neue Instanz der QnAMaker-Klasse. |
| QnAMaker(QnAMakerEndpoint, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean) |
Initialisiert eine neue Instanz der QnAMaker-Klasse. |
| QnAMaker(QnAMakerService, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean) |
Veraltet.
Initialisiert eine neue Instanz der QnAMaker-Klasse. |
QnAMaker(QnAMakerEndpoint, QnAMakerOptions, HttpClient)
Initialisiert eine neue Instanz der 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)
Parameter
- endpoint
- QnAMakerEndpoint
Der Endpunkt der zu abfragenden Wissensbasis.
- options
- QnAMakerOptions
Die Optionen für die QnA Maker-Wissensbasis.
- httpClient
- HttpClient
Ein alternativer Klient, mit dem ich mit QnAMaker sprechen kann. Wenn null, wird für diese Instanz ein Standardclient verwendet.
Gilt für:
QnAMaker(QnAMakerService, QnAMakerOptions, HttpClient)
Achtung
Constructor is deprecated, please use QnAMaker(QnAMakerEndpoint endpoint, QnAMakerOptions options, HttpClient httpClient).
Initialisiert eine neue Instanz der 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)
Parameter
- service
- QnAMakerService
QnA-Servicedetails aus der Konfiguration.
- options
- QnAMakerOptions
Die Optionen für die QnA Maker-Wissensbasis.
- httpClient
- HttpClient
Ein alternativer Klient, mit dem ich mit QnAMaker sprechen kann. Wenn null, wird für diese Instanz ein Standardclient verwendet.
- Attribute
Gilt für:
QnAMaker(QnAMakerEndpoint, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean)
Initialisiert eine neue Instanz der 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)
Parameter
- endpoint
- QnAMakerEndpoint
Der Endpunkt der zu abfragenden Wissensbasis.
- options
- QnAMakerOptions
Die Optionen für die QnA Maker-Wissensbasis.
- httpClient
- HttpClient
Ein alternativer Klient, mit dem ich mit QnAMaker sprechen kann. Wenn null, wird für diese Instanz ein Standardclient verwendet.
- telemetryClient
- IBotTelemetryClient
Der IBotTelemetryClient, der zum Protokollieren von Telemetrieereignissen verwendet wird.
- logPersonalInformation
- Boolean
Auf "true" festlegen, um personenbezogene Informationen in Telemetrieereignisse einzuschließen.
Gilt für:
QnAMaker(QnAMakerService, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean)
Achtung
Constructor is deprecated, please use QnAMaker(QnAMakerEndpoint endpoint, QnAMakerOptions options, HttpClient httpClient).
Initialisiert eine neue Instanz der 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)
Parameter
- service
- QnAMakerService
QnA-Servicedetails aus der Konfiguration.
- options
- QnAMakerOptions
Die Optionen für die QnA Maker-Wissensbasis.
- httpClient
- HttpClient
Ein alternativer Klient, mit dem ich mit QnAMaker sprechen kann. Wenn null, wird für diese Instanz ein Standardclient verwendet.
- telemetryClient
- IBotTelemetryClient
Der IBotTelemetryClient, der zum Protokollieren von Telemetrieereignissen verwendet wird.
- logPersonalInformation
- Boolean
Auf "true" festlegen, um personenbezogene Informationen in Telemetrieereignisse einzuschließen.
- Attribute