aimpress-chatbot/node_modules/botbuilder-core/lib/recognizerResult.d.ts
“SamoilenkoVadym” 55445dbc86
Some checks failed
Build and deploy Node.js app to Azure Web App - ChatBot2222 / build (push) Has been cancelled
Build and deploy Node.js app to Azure Web App - ChatBot2222 / deploy (push) Has been cancelled
Deploy bot to Azure
2025-04-27 19:55:19 +01:00

41 lines
No EOL
964 B
TypeScript

/**
* @module botbuilder
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { IntentScore } from './intentScore';
/**
* Value returned from a recognizer.
*/
export interface RecognizerResult {
/**
* Utterance sent to recognizer
*/
text: string;
/**
* If original text is changed by things like spelling, the altered version.
*/
alteredText?: string;
/**
* Intents recognized for the utterance.
*
* @remarks
* A map of intent names to an object with score is returned.
*/
intents: Record<string, IntentScore>;
/**
* (Optional) entities recognized.
*/
entities?: any;
/**
* (Optional) other properties
*/
[propName: string]: any;
}
export declare const getTopScoringIntent: (result: RecognizerResult) => {
intent: string;
score: number;
};
//# sourceMappingURL=recognizerResult.d.ts.map