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

Did you find this page helpful?