Embedding OpenAI Response Link in an iframe

Hi, I'd like to embed the link from the OpenAI response in an iframe. Could you please provide guidance on how to accomplish this?
8 Replies
Baptiste
Baptiste2y ago
Maybe use a function call?
Baptiste
Baptiste2y ago
If you’d like to set variables directly in this code block, you can use the setVariable function.
Baptiste
Baptiste2y ago
And then use this variable in the Embed block URL input
Geethanjali
GeethanjaliOP2y ago
There are mulitple links present in the response of OpenAi. When the user clicks the link, it opens in a new tab. I want it to open in an iframe.
Baptiste
Baptiste2y ago
This is not possible unfortunately 😦
Geethanjali
GeethanjaliOP2y ago
Any suggestions/ hacks to achieve this. It plays a crucial role in the bot!

Did you find this page helpful?