Hacker News new | ask | show | jobs
by drexlspivey 936 days ago
Has anyone managed to replicate the “search the web” functionality through the API? I’ve set up two “functions” one to get search results and one to extract the text from a search results and feed it back to the AI but I am a bit stuck.

What do you use to extract the text from a webpage and how do you handle websites with anti-bot measures?

1 comments

Shouldn’t the API response be the exact response you would get if you sent the same input to ChatGPT, assuming it’a the same model ?
No, ChatGPT is more than just a UI for the OpenAI API. Web requests are a feature built into ChatGPT using the API's support for function calls, but the API doesn't make any external web requests by itself.
The API doesn't have access to the web search functionality unless something changed.