UNPKG

@microsoft/teams-ai

Version:

SDK focused on building AI based applications for Microsoft Teams.

20 lines 593 B
"use strict"; /** * @module teams-ai */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.doCommand = doCommand; /** * @private * @returns {Promise<string>} A promise that resolves to a string indicating whether the AI system should continue executing the plan. */ function doCommand() { return async (context, state, data, action) => { return await data.handler(context, state, data.parameters, action); }; } //# sourceMappingURL=DoCommand.js.map