UNPKG

@microsoft/teams-ai

Version:

SDK focused on building AI based applications for Microsoft Teams.

16 lines 622 B
/** * @module teams-ai */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { TurnContext } from 'botbuilder-core'; import { TurnState } from '../TurnState'; import { TooManyStepsParameters } from '../types'; /** * @private * @returns {Function} A function that checks if the AI system has exceeded the maximum number of steps or time allowed. */ export declare function tooManySteps<TState extends TurnState = TurnState>(): (_context: TurnContext, _state: TState, data: TooManyStepsParameters) => Promise<never>; //# sourceMappingURL=TooManySteps.d.ts.map