Open nellysbr opened 6 months ago
@nellysbr Instead of installing the react-chabot-kit, you should clone it and use it, which will make things easier for customization.
@nellysbr Instead of installing the react-chabot-kit, you should clone it and use it, which will make things easier for customization.
How to do that?
@jintzz Download the files and use the components directly instead of installing the chatbot.
I have two questions regarding the bot configuration in Nextjs. So far, I have successfully configured it (despite some issues with TypeScript and the lack of TypeScript-oriented documentation). However, there are two things I would like to achieve with the bot, and I might be overlooking something:
The bot asks two questions to the user (e.g., name and phone number). Is there a way to save only the user-entered data (name and phone number) and send it to an API or database? Right now i can use saveMessages to send some data, but it sends all chat history.
Is there a way to disable text input and only enable it when I want the user to enter information?
Thanks!!