CrossTrainedRecognizerSet class
Recognizer for selecting between cross trained recognizers.
- Extends
Properties
$kind | |
recognizers | Gets or sets the input 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 |
To recognize intents and entities in a users utterance. |
Inherited Methods
configure(Record<string, unknown>) | Fluent method for configuring the object. |
Property Details
$kind
static $kind: string
Property Value
string
recognizers
Gets or sets the input 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, Record<string, string>, Record<string, number>)
To recognize intents and entities in a users utterance.
function recognize(dialogContext: DialogContext, activity: Activity, telemetryProperties?: Record<string, string>, telemetryMetrics?: Record<string, number>): Promise<RecognizerResult>
Parameters
- dialogContext
-
DialogContext
The dialog context.
- activity
-
Activity
The activity.
- telemetryProperties
-
Record<string, string>
Optional. Additional properties to be logged to telemetry with the recognizer result event.
- telemetryMetrics
-
Record<string, number>
Optional. Additional metrics to be logged to telemetry with the recognizer result event.
Returns
Promise<RecognizerResult>
Promise of the intent recognized by the recognizer in the form of a RecognizerResult.
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