admin管理员组文章数量:1335598
I wrote a prompt that gives me a daily update on local news, global news, weather, etc. Works really well in ChatGPT Plus when using the gpt-4o
model.
Now, I wanted to automate it using the OpenAI API with the gpt-4o
model. What it came back with was that it can’t get the news or even know the date really. I gave it today’s date manually, but still no luck.
Is there any way to accomplish this seemingly simple task with the OpenAI API?
I have paid versions of both.
I wrote a prompt that gives me a daily update on local news, global news, weather, etc. Works really well in ChatGPT Plus when using the gpt-4o
model.
Now, I wanted to automate it using the OpenAI API with the gpt-4o
model. What it came back with was that it can’t get the news or even know the date really. I gave it today’s date manually, but still no luck.
Is there any way to accomplish this seemingly simple task with the OpenAI API?
I have paid versions of both.
Share Improve this question edited Nov 20, 2024 at 13:38 Mark Rotteveel 109k229 gold badges156 silver badges221 bronze badges asked Nov 19, 2024 at 22:47 Silver RingveeSilver Ringvee 5,5456 gold badges32 silver badges48 bronze badges1 Answer
Reset to default 1ChatGPT can do some things that are harder to achieve with the OpenAI API. In the early days, the main difference was that ChatGPT had chat history, which the API didn’t. Today, ChatGPT still uses OpenAI models but has been upgraded with more features.
You need to enhance the OpenAI API with web search tools made for LLMs, like Exa or Tavily. These tools allow you to connect an LLM to the web. I’ve personally tested both and can confirm they worked for getting current weather and news when added to an LLM.
本文标签:
版权声明:本文标题:gpt 4 - How to get real-time data such as news, weather, etc. from the OpenAI model? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742393912a2466535.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论