UI Bundle
Create chatbots without reimplementing the chat components. You can also customize it.
Using in browser
Use directly on your website.
<script src="//cdn.jsdelivr.net/npm/yve-bot/web.js"></script>
<script>
new YveBot(rules, { target: '.Chat' }).start();
</script>
Using with bundlers
If you are using Webpack (eg.: in React app)
Install using yarn
:
yarn install yve-bot
import YveBotUI from 'yve-bot/ui';
See the options in API Reference.