1.0.3 • Published 7 years ago

botframework_multiprompt v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Botframework MultiPrompt

The existing node.js botframework Prompt class is only able to process one input type, whether its a text, attachment or anything else. Such functionality is limiting and requires users to make muliple linear requests to recieve the information they want using an image or text as input.

This module provides a custom Prompt implementation allows dynamic processing of either text or attachments with one unified query.

Usage

Usage example

Sample code

Launch the bot located in the 'sample' directory. When the user speaks with the bot, the bot will answer 'text!' if the user entered a text and 'attachment!' if the user sent an image.