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