How to set ChatGPT respond to different or multiple chat bubble/block
Hi, i am new to typebot. I've tried that chatgpt block. However, I found out the output is in single bubble/block. How can i set the ChatGPT respond to different bubble. For example, i have 3 packages stored in NocoDB. When a user key-in an input which is asking for 2 different package details. Then the Chatgpt fetch their requirement and display the details to 2 different bubbles or blocks respectively. I've tried different prompt and save response to 2 diff variable. However, the ChatGPT display the same details to both variables. You may see the screenshots given as an example.


3 Replies
For that you'd need to split the generated text in 2 variables that you can then display.
Note that it will then not be able to stream the text.
@Baptiste Thank you for responding to my question. I'm sorry, but I didn’t quite understand. Could you please provide an example of how to split the generated text into 2 variables and display them? What I did is like this (in screenshot)

Ok that's not super easy. But here is an example: https://app.typebot.io/typebots/clzb6a9b2000d10k9qrz2fbx4/edit
Editor
Create and publish conversational forms that collect 4 times more answers and feel native to your product