Hi, made a website that uses OPENAI gpt4o and web search. The app used to work fine, but suddenly the API always says its unable to perform web searches. Why is this happening?
I cant post link, but this is the response. (factcheckcentral . org)
I’m unable to browse the web in real-time to verify the current status of news stories. To fact-check the information about the New York Giants ranking among the top 10 most valuable NFL franchises, you would need to refer to reputable sources such as Forbes, ESPN, CNBC, or other major news outlets known for their coverage of sports finances.
Hi @jpai-20 ! Web search via API was never officially supported. In ChatGPT there is web search tool that is called behind the scenes, if you specify in your prompt to do so, or to visit a specific website. But not in the API.
For now, your options are using Perplexity API’s “online” models, or creating custom API web crawling with GPT-4, using e.g. Apify or Serpapi.
Well, it was working perfectly via API. The API was browsing the web and providing a response with LIVE links. However, not it keeps saying “sorry I cant browse the web” in the responses.
I understand, but what I’m trying to tell you, is that there absolutely no official support for this, and never has been. I have in the past tried this out and sometimes it worked and sometimes it didn’t but it was mostly responding with hallucinations.
In other words - I wouldn’t build a system around this because it’s not officially supported, and I would look at other solutions like the ones I recommended. For now.
The API AI cannot get to the internet, period. Never could. It can only call your code’s functions.
The models can provide web links they knew about that have existed for a while. You can get rickrolled by AI, with it providing a good link.
AI models also can have their anti-hallucination pretraining overcome and output complete garbage, convincing, web links or citations after pretending to search the web.
…simply by providing a scenario that says a new technology automatically infuses that internet search knowledge, along with a counterpoint to the injected knowledge date message that OpenAI is placing after system prompts.