RecognizerSet class
A recognizer class whose result is the union of results from multiple recognizers into one RecognizerResult.
- Extends
Properties
$kind | |
recognizers |
Inherited Properties
id | Recognizers unique ID. |
log |
(Optional) Flag that designates whether personally identifiable information (PII) should log to telemetry. |
telemetry |
The telemetry client for logging events. Default this to the NullTelemetryClient, which does nothing. |
Methods
get |
|
recognize(Dialog |
Runs current DialogContext.TurnContext.Activity through a recognizer and returns a RecognizerResult. |
Inherited Methods
configure(Record<string, unknown>) | Fluent method for configuring the object. |
Property Details
$kind
static $kind: string
Property Value
string
recognizers
recognizers: Recognizer[]
Property Value
Recognizer[]
Inherited Property Details
id
Recognizers unique ID.
id: string
Property Value
string
Inherited From Recognizer.id
logPersonalInformation
(Optional) Flag that designates whether personally identifiable information (PII) should log to telemetry.
logPersonalInformation: BoolExpression
Property Value
BoolExpression
Inherited From AdaptiveRecognizer.logPersonalInformation
telemetryClient
The telemetry client for logging events. Default this to the NullTelemetryClient, which does nothing.
telemetryClient: BotTelemetryClient
Property Value
BotTelemetryClient
Inherited From Recognizer.telemetryClient
Method Details
getConverter(Object)
function getConverter(property: Object): Converter | ConverterFactory
Parameters
- property
-
Object
The key of the conditional selector configuration.
Returns
Converter | ConverterFactory
The converter for the selector configuration.
recognize(DialogContext, Activity, [key: string]: string, [key: string]: number)
Runs current DialogContext.TurnContext.Activity through a recognizer and returns a RecognizerResult.
function recognize(dialogContext: DialogContext, activity: Activity, telemetryProperties?: [key: string]: string, telemetryMetrics?: [key: string]: number): Promise<RecognizerResult>
Parameters
- dialogContext
-
DialogContext
The DialogContext for the current turn of conversation.
- activity
-
Activity
(xref:botframework-schema.Activity) to recognize.
- telemetryProperties
-
[key: string]: string
Optional, additional properties to be logged to telemetry with the LuisResult event.
- telemetryMetrics
-
[key: string]: number
Optional, additional metrics to be logged to telemetry with the LuisResult event.
Returns
Promise<RecognizerResult>
Analysis of utterance.
Inherited Method Details
configure(Record<string, unknown>)
Fluent method for configuring the object.
function configure(config: Record<string, unknown>): this
Parameters
- config
-
Record<string, unknown>
Configuration settings to apply.
Returns
this
The Configurable after the operation is complete.
Inherited From Configurable.configure