Yeah exactly. That's why you can't really do it with a language model like GPT-3, you have to bake into the architecture the concept of a "link" as a first-class object.
"how can it produce an exact link that actually exists?"
Instead of generating links from scratch it might just be choosing from a pool of already existing links.