usual-module
v1.0.56
Published
Offered by bld.ai, `usual-module` is an exclusive npm package forming a component of the Usual.chat application suite. The central feature of this package is the `UsualChat` component, which offers dual functionality. It can be tailored to function as an
Downloads
66
Readme
usual-module
Description
Offered by bld.ai, usual-module
is an exclusive npm package forming a component of the Usual.chat application suite. The central feature of this package is the UsualChat
component, which offers dual functionality. It can be tailored to function as an intelligent chatbot, engaging with users and providing responses once it is trained with specific data sources. Alternatively, it can serve as an interactive form, guiding users through a set of questions and gathering their responses. When the interaction concludes, user submissions activate a predefined callable function. The UsualChat
component is designed to seamlessly incorporate a conversational interface into applications, capable of both soliciting user input and aggregating data.
Installation
To install the latest version of usual-module
, run this command in your project directory:
npm install usual-module@latest
Usage
import UsualChat from 'usual-module';
function handleChatSubmit(chatData) {
// Handle chat submission
}
<UsualChat id="your-chat-id" onSubmit={handleChatSubmit} />
License
usual-module
is licensed under the MIT License.
Contact Information
For support or inquiries regarding usual-module
, please contact us at:
Usual.Chat Support
Email: [email protected]
Website: https://usual.chat