다음을 통해 공유


QnAMaker 생성자

정의

오버로드

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로 설정합니다.

특성

적용 대상