JiteshGaikwad / Chatbot-Widget

MIT License
255 stars 128 forks source link

Request for Guidance on Reducing Response Time in Frontend #27

Closed WalkerShreyash closed 1 year ago

WalkerShreyash commented 1 year ago

I am experiencing extended response times from my chatbot in the frontend. While the backend is functioning correctly and retrieving data from the backend takes approximately 3 seconds, I am interested in finding ways to reduce the response time specifically within the frontend. I would appreciate your guidance on possible solutions to address this matter.

Thank you.

JiteshGaikwad commented 1 year ago

You can set the time in milliseconds

https://github.com/JiteshGaikwad/Chatbot-Widget/blob/8afb80bfdf4da4bc3f1d3a320d2943c258ec3eb6/static/js/components/chat.js#LL42C2-L42C2

WalkerShreyash commented 1 year ago

Thanks @JiteshGaikwad, It helps me hence closing this issue.