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
Baptiste5mo ago
Maybe use a function call?
Baptiste
Baptiste5mo ago
If you’d like to set variables directly in this code block, you can use the setVariable function.
Baptiste
Baptiste5mo ago
And then use this variable in the Embed block URL input
Geethanjali
Geethanjali5mo 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
Baptiste5mo ago
This is not possible unfortunately 😦
Geethanjali
Geethanjali5mo ago
Any suggestions/ hacks to achieve this. It plays a crucial role in the bot!