OvidijusParsiunas / deep-chat

Fully customizable AI chatbot component for your website
https://deepchat.dev
MIT License
1.27k stars 176 forks source link

Ability to send multiple messages from custom backend #51

Closed nishit-g closed 7 months ago

nishit-g commented 7 months ago

I want to know if there is any way or hack , that i can do to send multiple messages at once or one by one,

I am looking for something like this ,

User : Hello -- get chat AI : Hi , welcome AI : How may I help you ? AI : Hope you are well

these 3 messages i want to send at once

nishit-g commented 7 months ago

Sorry my bad, i will see how to use websockets.

OvidijusParsiunas commented 7 months ago

Hey @nishit-g. You are absolutely correct. You can either connect to a server that has a websocket endpoint or create a request handler that behaves like a websocket.