Does anyone developer a QnA with a button or html response?

Hi There,

I am new to OpenAI. I am developing a chatbot with a defined response using prompt design.
Just want to ask how can I implement a defined button with a text response… I am playing around in the playground and I am thinking to respond an identifier for button or any other html and just parse it on the frontend.

For example:
Q: How to open my PC:
A: btn-1

In my frontend, I will just parse the btn-1 to it’s action. For example, to open a link or to show a dialog box.

Does anybody here face the same scenario? Or anyone knows a better approach for this?

1 Like