CustomQuestionAnswering 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
CustomQuestionAnswering(QnAMakerEndpoint, QnAMakerOptions, HttpClient)
初始化 CustomQuestionAnswering 類別的新執行個體。
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)
參數
- endpoint
- QnAMakerEndpoint
QnAMakerEndpoint查詢知識庫。
- options
- QnAMakerOptions
這是 QnAMakerOptions 針對客製化問答知識庫的。
- httpClient
- HttpClient
一個替代客戶端,可以與語言服務部門對話。 若為空,則此實例使用預設客戶端。
適用於
CustomQuestionAnswering(QnAMakerEndpoint, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean)
初始化 CustomQuestionAnswering 類別的新執行個體。
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)
參數
- endpoint
- QnAMakerEndpoint
QnAMakerEndpoint查詢知識庫。
- options
- QnAMakerOptions
這是 QnAMakerOptions 針對客製化問答知識庫的。
- httpClient
- HttpClient
一個替代客戶端,可以與語言服務部門對話。 若為空,則此實例使用預設客戶端。
- telemetryClient
- IBotTelemetryClient
用於記錄遙測事件的IBotTelemetryClient。
- logPersonalInformation
- Boolean
設定為 true 以在遙測事件中包含個人標識資訊。