Make GPT return clickable links in chat

I’ve supplied my GPT with a knowledgebase PDF that includes links, but it still often won’t provide those links to the user. I’ve explicitly told it to return direct links but it often won’t.

3 Likes

Hi @annarmills

You can simply mention in the instructions in the GPT Builder view:
"Use markdown to include clickable links in the chat"

1 Like

That doesn’t work either: the URLs become unclickable after being displayed.

1 Like

You can specify the markdown syntax to use

[Visit OpenAI!](https://www.openai.com/)

Here it is working on my ChatGPT instance:

5 Likes

There used to be an issue where constructed links were disallowed.

however, there now seems to be a whitelist of some sort. The youtube url works, and the second one becomes unclickable.

https://chat.openai.com/share/011de9b9-52fc-4b9c-88b6-fb168a8cc384 conversation

So it’s possible that you’re running into this issue, unfortunately :confused:

they only become clickable if they’re explicitly in the context: ChatGPT

edit: chat link wasn’t updated properly

1 Like

You are using a mobile device?
Try on a desktop or laptop.

1 Like

Here you go:

1 Like

Yes, it works if I get the Chat to generate the link during a conversation, or if I included a hardcoded URL.
But it doesn’t work if my GPT gets the URL from its Excel knowledge file and presents it as part of its response.

Is there some type of restriction about displaying “generated” URLs?
For example, if the URL includes a GUID.
Is there really a white-list like it was mentioned above?

1 Like

is this legal? will I got ban or my GPT removed, if I add a link

Popping up ads in the responses from a GPT certainly won’t endear yourself to users, who have a “report” button…

I am adding link to download list of numbers , that help them to work with my custochatGPT. , you said some users will report the GPT for what? I read Open ai terms, so I dont use anything that agains there terms. but of course dont want to get baned., I have option to add Paid link to my store, or give them for free… that also . I have , so not sure how that works,

1 Like


something like this , will be a problem?

1 Like

Having the AI produce markdown links that can be clicked on is not prohibited.

See, for example, a GPT I just whipped up to do searches and clicks behind the scenes to make sure it is giving real links. It then answers only with site recommendations.

(The AI cannot produce reliable links simply from its knowledge.)

It can offer links to files it created in code interpreter, file citations, and more.

I’m sure you’ll have a sense of what kind of links could run afoul of user expectations on OpenAI’s platform. Something that bypasses a site’s paywall or ads to offer their content would likely be objectionable to the publisher and therefore OpenAI.

There’s nothing that I’m aware of that prohibits links on GPTs.

I don’t believe it’s the link sharing that will get an account banned; instead, it’s what you’re sharing in the link.

1 Like

I just struggled with exactly the same topic yesterday. When I wanted to create my

Island explorer GPT

Sometimes the links were clickable, sometimes they weren’t.

Some things happened when I tried to create

A movie Recommendator GPT

And wanted it to output the posters for each movie as well. Some versions worked. Some didn’t.

So here’s what OpenAI says itself about this:

Why aren’t my links clickable? GPTs

Excerpt:

Why aren’t my GPT links clickable?

Updated over a year ago

If a URL you’re trying to reference is partially model-generated, the link output by ChatGPT won’t be clickable.

To make a link clickable, your custom action will need to output the full, qualified URL for the model to reference. A fully qualified URL includes all necessary components, including the scheme (http or https), domain, path and any query parameters.

If you want clickable links, do the following:

  1. Check URL format: Ensure the URL starts with “http://” or “https://”.

  2. Validate domain and path: Confirm the domain is correctly spelled and the path accurately leads to the intended content.

  3. Review the custom action’s URL generation: If the URL is dynamically generated, review your action to ensure it constructs the URL correctly.

2 Likes

I tested a bunch of possibilities.

Here was my basic method (In this case a link to for example chatgpt.com?q=phasm+openai+forum - A search for a search term on chatgpt search with a query that was appended in the chat message.

(These Links Worked with a link to ChatGPT Search ^^)

This was results:

Worked
User Domain: (ht\tp://UserDomain.com)
ChatGPT Search: (ht\tps://chatgpt.com?q=Search Term)
OpenAI Forum Search: ht\tps://community.openai.com/search/?q=

(ht\tps://chat.com?q=Search Term)
Worked with + in the URL query… Maybe chat.com too short for recognition ^^

Worked when entered without editing ie asking to add the search term failed but supplying full url with search term worked

User Domain With Query String failed for me without url_encoding search term: (ht\tp://UserDomain.com?q=Search Term)

Seemed important to include + signs for spaces ie url_encoded query string for more chance of matching
ht\tp://community.openai.com/search/?phasm openai forum
ht\tp://community.openai.com/search/?phasm+openai+forum

UserDomain was verified, not sure if that makes a difference

1 Like

The language you are using could confusing The Chat. Returning doesnt imply for it to give to the users. It implies for it give it back to you.

Using include is much clearer.

I hate the embedded (Hidden) links Tabs. Its disruptive to the workflow. They arent available when copied.

I’d rather have all references, links, & in-text citations in APA Format in Plainview.