logoalt Hacker News

michaelbuckbeelast Thursday at 4:21 PM1 replyview on HN

What is the https://chatgpt.com/backend-api/attributions endpoint doing (or responsible for when not crushing websites).


Replies

bfleschlast Thursday at 4:52 PM

When ChatGPT cites web sources in it's output to the user, it will call `backend-api/attributions` with the URL and the API will return what the website is about.

Basically it does HTTP request to fetch HTML `<title/>` tag.

They don't check length of supplied `urls[]` array and also don't check if it contains the same URL over and over again (with minor variations).

It's just bad engineering all around.

show 2 replies