Namespace Microsoft.Agents.Builder.App
Classes
- AgentApplication
Application class for routing and processing incoming requests.
- AgentApplicationOptions
Options for the AgentApplication class.
- ConversationUpdateEvents
Conversation update events.
- InputFile
Represents an upload file
- MultipleRouteSelector
Combination of String, Regex, and RouteSelectorAsync selectors.
- RouteAttribute
Adds an AgentApplication Routes
RouteType:
Activity, // { Type | RegEx | Selector}, Rank Message, // { Text | RegEx | Selector}, Rank Event, // { EventName | RegEx | Selector}, Rank Conversation, // { EventName | Selector}, Rank HandOff, // Selector, Rank ReactionAdded, // Rank ReactionRemoved // Rank
Interfaces
- IInputFileDownloader
A plugin responsible for downloading files relative to the current user's input.
Enums
Delegates
- HandoffHandler
Function for handling handoff activities.
- RouteHandler
The common route handler. Function for handling an incoming request.
- RouteSelector
Function for selecting whether a route handler should be triggered.
- TurnEventHandler
Turn event handler to do something before or after a turn is run. Returning false from
beforeTurn
lets you prevent the turn from running and returning false fromafterTurn
lets you prevent the Agents state from being saved.
Returning false frombeforeTurn
does result in the Agents state being saved which lets you track the reason why the turn was not processed. It also means you can usebeforeTurn
as a way to call into the dialog system. For example, you could use the OAuthPrompt to sign the user in before allowing the AI system to run.