LuisAdaptiveRecognizer class
Class that represents an adaptive LUIS recognizer.
- Extends
-
Recognizer
Properties
$kind | |
application |
LUIS application ID. |
dynamic |
LUIS dynamic list. |
endpoint | LUIS endpoint to query. |
endpoint |
Key used to talk to a LUIS endpoint. |
external |
External entity recognizer. |
log |
The flag to indicate in personal information should be logged in telemetry. |
prediction |
LUIS prediction options. |
version | LUIS application version. |
Inherited Properties
id | Recognizers unique ID. |
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. |
recognizer |
Construct V3 recognizer options from the current dialog context. |
Inherited Methods
configure(Record<string, unknown>) | Fluent method for configuring the object. |
Property Details
$kind
static $kind: string
Property Value
string
applicationId
LUIS application ID.
applicationId: StringExpression
Property Value
StringExpression
dynamicLists
LUIS dynamic list.
dynamicLists: ArrayExpression<DynamicList>
Property Value
ArrayExpression<DynamicList>
endpoint
LUIS endpoint to query.
endpoint: StringExpression
Property Value
StringExpression
endpointKey
Key used to talk to a LUIS endpoint.
endpointKey: StringExpression
Property Value
StringExpression
externalEntityRecognizer
External entity recognizer.
externalEntityRecognizer: Recognizer
Property Value
Recognizer
logPersonalInformation
The flag to indicate in personal information should be logged in telemetry.
logPersonalInformation: BoolExpression
Property Value
BoolExpression
predictionOptions
LUIS prediction options.
predictionOptions: LuisAdaptivePredictionOptions
Property Value
version
LUIS application version.
version: StringExpression
Property Value
StringExpression
Inherited Property Details
id
Recognizers unique ID.
id: string
Property Value
string
Inherited From Recognizer.id
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
Properties that extend RecognizerConfiguration.
Returns
Converter | ConverterFactory
Expression converter.
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 DialogContext.
- activity
-
Activity
The Activity.
- telemetryProperties
-
Record<string, string>
Optional. Additional properties to be logged to telemetry with event.
- telemetryMetrics
-
Record<string, number>
Optional. Additional metrics to be logged to telemetry with event.
Returns
Promise<RecognizerResult>
A promise resolving to the recognizer result.
recognizerOptions(DialogContext)
Construct V3 recognizer options from the current dialog context.
function recognizerOptions(dialogContext: DialogContext): LuisRecognizerOptionsV3
Parameters
- dialogContext
-
DialogContext
Current dialog context.
Returns
luis recognizer options
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