Share feedback, ideas and get community help

Updated 4 months ago

Displaying OpenAI Search Results as Buttons in Typebot Without Showing Text

I'm building a chatbot in Typebot using the OpenAI integration. In one of the prompts, I ask the assistant to provide some options based on the defined knowledge base. The user needs to choose one of these options. However, I don't know how many options might be returned. I managed to create dynamic buttons using the options given by OpenAI, but I had to add a text field before the button component. This causes the options to be displayed as text before the buttons. Does anyone have any tips on how to fix this?
B
C
7 comments
Do you have an example to share as a starting point so that we have more context?
This is an example.
And this is my prompt: "You are an assistant at a design agency and need to help the client develop packaging directions effectively by collecting all their preferences and product information to assist your agency in creating the packaging design according to the client's expectations.

Keep in mind that the commercial designation of a product is the name by which it is identified and sold in the market. This name does not include any subjective aspects, type of packaging, volume, or weight.

To do this, using the information from {{Project}} and {{project_sku}}, search on Marketplace and e-commerce websites and display 4 options for the commercial designation of the product plus the option 'None of the above options.'

Return only a list of options in array format.
Example: ['Option 1', 'Option 2', 'Option 3']."
Attachment
image.png
Great, what is the issue here?
Why don't you just delete the text bubble block before the buttons block?
  1. What's happening
  2. What were you expecting
When I delete, it don't show me the buttons.
Can you provide a reproduction please?
Add a reply
Sign up and join the conversation on Discord