Purpose of studying chatbot implementation and html/javascript integration is done. So that it can be used into other web applications.
To check chatbot you can visit at vishvaraj.me For any queries you can email me on vishvarajdhnwd120@gmail.com
While developing chatbot using pytorch, youtube videos are used to study and implement it. Ref: Chat Bot With PyTorch - NLP Beginner Tutorial
Chatbot popup window is done using - How To Create Responsive Popup Chat Window | HTML - CSS - JS by Practicle Code Academy
And both are integrated to implement single page chatbot with Flask