Log in to community
Share feedback, ideas and get community help
D
F
M
a
g
609
Home
Questions and bug reports
Powered by
Hall
Questions and bug reports
0
Join
on Discord
Embedding OpenAI Response Link in an iframe
Questions and bug reports
Embedding OpenAI Response Link in an iframe
0
Join
on Discord
G
Geethanjali
7 months ago
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
Share
B
Baptiste
7 months ago
Maybe use a function call?
B
Baptiste
7 months ago
https://docs.typebot.io/editor/blocks/integrations/openai#tools
B
Baptiste
7 months ago
If you’d like to set variables directly in this code block, you can use the setVariable function.
B
Baptiste
7 months ago
https://docs.typebot.io/editor/blocks/logic/script#setvariable-function
B
Baptiste
7 months ago
And then use this variable in the Embed block URL input
G
Geethanjali
7 months 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.
B
Baptiste
7 months ago
This is not possible unfortunately 😦
G
Geethanjali
7 months ago
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
Join
on Discord