QnAMaker コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| QnAMaker(QnAMakerEndpoint, QnAMakerOptions, HttpClient) |
QnAMaker クラスの新しいインスタンスを初期化します。 |
| QnAMaker(QnAMakerService, QnAMakerOptions, HttpClient) |
古い.
QnAMaker クラスの新しいインスタンスを初期化します。 |
| QnAMaker(QnAMakerEndpoint, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean) |
QnAMaker クラスの新しいインスタンスを初期化します。 |
| QnAMaker(QnAMakerService, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean) |
古い.
QnAMaker クラスの新しいインスタンスを初期化します。 |
QnAMaker(QnAMakerEndpoint, QnAMakerOptions, HttpClient)
QnAMaker クラスの新しいインスタンスを初期化します。
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)
パラメーター
- endpoint
- QnAMakerEndpoint
クエリを実行するサポート情報のエンドポイント。
- options
- QnAMakerOptions
QnA Maker サポート情報のオプション。
- httpClient
- HttpClient
QnAMaker と通信する代替クライアント。 null の場合、このインスタンスには既定のクライアントが使用されます。
適用対象
QnAMaker(QnAMakerService, QnAMakerOptions, HttpClient)
注意事項
Constructor is deprecated, please use QnAMaker(QnAMakerEndpoint endpoint, QnAMakerOptions options, HttpClient httpClient).
QnAMaker クラスの新しいインスタンスを初期化します。
[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)
パラメーター
- service
- QnAMakerService
構成からの QnA サービスの詳細。
- options
- QnAMakerOptions
QnA Maker サポート情報のオプション。
- httpClient
- HttpClient
QnAMaker と通信する代替クライアント。 null の場合、このインスタンスには既定のクライアントが使用されます。
- 属性
適用対象
QnAMaker(QnAMakerEndpoint, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean)
QnAMaker クラスの新しいインスタンスを初期化します。
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)
パラメーター
- endpoint
- QnAMakerEndpoint
クエリを実行するサポート情報のエンドポイント。
- options
- QnAMakerOptions
QnA Maker サポート情報のオプション。
- httpClient
- HttpClient
QnAMaker と通信する代替クライアント。 null の場合、このインスタンスには既定のクライアントが使用されます。
- telemetryClient
- IBotTelemetryClient
テレメトリ イベントのログ記録に使用される IBotTelemetryClient。
- logPersonalInformation
- Boolean
テレメトリ イベントに個人を特定できる情報を含めるには、true に設定します。
適用対象
QnAMaker(QnAMakerService, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean)
注意事項
Constructor is deprecated, please use QnAMaker(QnAMakerEndpoint endpoint, QnAMakerOptions options, HttpClient httpClient).
QnAMaker クラスの新しいインスタンスを初期化します。
[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)
パラメーター
- service
- QnAMakerService
構成からの QnA サービスの詳細。
- options
- QnAMakerOptions
QnA Maker サポート情報のオプション。
- httpClient
- HttpClient
QnAMaker と通信する代替クライアント。 null の場合、このインスタンスには既定のクライアントが使用されます。
- telemetryClient
- IBotTelemetryClient
テレメトリ イベントのログ記録に使用される IBotTelemetryClient。
- logPersonalInformation
- Boolean
テレメトリ イベントに個人を特定できる情報を含めるには、true に設定します。
- 属性