Skip to content

Commit d1e5fec

Browse files
committed
Exposed static LuisDialog.recognize() method in the docs and botbuilder.d.ts file.
1 parent 0bd8326 commit d1e5fec

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Node/src/botbuilder.d.ts

+11
Original file line numberDiff line numberDiff line change
@@ -1465,6 +1465,17 @@ export class LuisDialog extends IntentDialog {
14651465
* @param callback.entities List of entities that were recognized.
14661466
*/
14671467
protected recognizeIntents(session: Session, callback: (err: Error, intents?: IIntent[], entities?: IEntity[]) => void): void;
1468+
1469+
/**
1470+
* Calls LUIS to recognizing intents & entities in a users utterance.
1471+
* @param utterance The text to pass to LUIS for recognition.
1472+
* @param serviceUri URI for LUIS App hosted on http://luis.ai.
1473+
* @param callback Callback to invoke with the results of the intent recognition step.
1474+
* @param callback.err Error that occured during the recognition step.
1475+
* @param callback.intents List of intents that were recognized.
1476+
* @param callback.entities List of entities that were recognized.
1477+
*/
1478+
static recognize(utterance: string, serviceUri: string, callback: (err: Error, intents?: IIntent[], entities?: IEntity[]) => void): void;
14681479
}
14691480

14701481
/**

0 commit comments

Comments
 (0)