ChatBot Integration

This commit is contained in:
UronShrestha
2024-07-10 13:46:42 +05:45
parent f4aab0bed3
commit c566bf9c27
15 changed files with 986 additions and 27 deletions

View File

@ -91,6 +91,18 @@
<script src="https://code.jquery.com/jquery-3.6.3.min.js"
integrity="sha256-pvPw+upLPUjgMXY0G+8O0xUf+/Im1MZjXxxgOcBQBXU=" crossorigin="anonymous"></script>
{{-- Botman --}}
<script src='https://cdn.jsdelivr.net/npm/botman-web-widget@0/build/js/widget.js'></script>
{{-- Botman Script --}}
<script>
var botmanWidget = {
// frameEndpoint: '/iFrameUrl'
aboutText: 'Bibhuti',
introMessage: 'Type Hi to start conversation.',
};
</script>
@ -110,14 +122,14 @@
if (successMessage) {
successMessage.style.display = 'none';
}
}, 2000); // 3000 milliseconds = 3 seconds
}, 2000);
setTimeout(function() {
var errorMessage = document.getElementById('error-message');
if (errorMessage) {
errorMessage.style.display = 'none';
}
}, 2000); // 2000 milliseconds = 3 seconds
}, 2000);
});
</script>
</body>