Share feedback, ideas and get community help

Updated 5 months ago

Embedding OpenAI Response Link in an iframe

At a glance

The community member is seeking guidance on how to embed the link from an OpenAI response in an iframe. The comments suggest using a function call, setting variables, and using the Embed block URL input. However, it is noted that this is not possible, as the links in the OpenAI response open in a new tab when clicked, and there are no suggestions or hacks provided to achieve the desired functionality.

Useful resources
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?
B
G
8 comments
Maybe use a function call?
If you’d like to set variables directly in this code block, you can use the setVariable function.
And then use this variable in the Embed block URL input
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.
This is not possible unfortunately 😦
Any suggestions/ hacks to achieve this. It plays a crucial role in the bot!
Add a reply
Sign up and join the conversation on Discord