Redigera

Dela via


LuisRecognizerTelemetryClient interface

Properties

logPersonalInformation

Gets a value indicating whether determines whether to log personal information that came from the user.

telemetryClient

Gets the currently configured botTelemetryClient that logs the events.

Methods

recognize(TurnContext, [key: string]: string, [key: string]: number)

Calls LUIS to recognize intents and entities in a users utterance.

Property Details

logPersonalInformation

Gets a value indicating whether determines whether to log personal information that came from the user.

logPersonalInformation: boolean

Property Value

boolean

telemetryClient

Gets the currently configured botTelemetryClient that logs the events.

telemetryClient: BotTelemetryClient

Property Value

BotTelemetryClient

Method Details

recognize(TurnContext, [key: string]: string, [key: string]: number)

Calls LUIS to recognize intents and entities in a users utterance.

function recognize(context: TurnContext, telemetryProperties?: [key: string]: string, telemetryMetrics?: [key: string]: number): Promise<RecognizerResult>

Parameters

context

TurnContext

Context for the current turn of conversation with the use.

telemetryProperties

[key: string]: string

Additional properties to be logged to telemetry with the LuisResult event.

telemetryMetrics

[key: string]: number

Additional metrics to be logged to telemetry with the LuisResult event.

Returns

Promise<RecognizerResult>

A promise that resolves to the recognizer result.