AWS Amplify Interactions category enables AI-powered chatbots in your web or mobile apps. You can use Interactions to configure your backend chatbot provider and to integrate a chatbot UI into your app with just a single line of code.
amplify add interactions
The CLI will lead you through the steps to specify the chatbot to be created.
You can choose to start from a sample chatbot or start from scratch. If you choose to start from scratch, the CLI will prompt you with a series of questions to set the intents and slots for the chatbot.
You are allowed to run the amplify add interactions
command multiple times to add multiple chatbots into your project.
add
command automatically creates a backend configuration locally. To update your backend in the cloud, run:amplify push
Upon successful execution of the push command, a configuration file called aws-exports.js
will be copied to your configured source directory.