You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Data Storage and Sending
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.
Input Text Control
Is there a way to disable text input and only enable it when I want the user to enter information?
Thanks!!
The text was updated successfully, but these errors were encountered:
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!!
The text was updated successfully, but these errors were encountered: