GPT Assistant - Real Date and Time

Hello,
Any one knows how to solve the issue with the assistants not getting the real time date and time?
Example: if i ask something about iphone 16 it tells me that the iphone 16 isn’t available yet.
(it does not get real time data in the assistant API)

2 Likes

There are knowledge cutoffs which can easily be found here. https://platform.openai.com/docs/models so information after the dates the api isn’t trained on.

If you want current information I would recommend. Building a Bring Your Own Browser (BYOB) Tool for Web Browsing and Summarization | OpenAI Cookbook.

This cookbook makes a BYOB and I have made one myself.

2 Likes

Hello, thanks for your response.
But in the live chat it works perfectly, the problem is the assistant.
In the live chat, it brings real time info. In the assistant it doesn’t.
Why is that?

1 Like

Ok, by live chat you mean ChatGPT? Yes on ChatGPT it can now search for live information using the web. The API doesn’t natively support the live internet searching capabilities as of my knowledge. So for assistants that use the API you would need a workaround like BYOB.

I quote Assistants overview - OpenAI API “The Assistants API currently supports three types of tools: Code Interpreter, File Search, and Function calling.”

Hope this helps and good luck!

Now level 1 already yippie! made the links… work…

My system prompt always states the current date and time as part of the text.

(but then I’m using Chat Completions not the Assistant so I have complete control of what is sent to OpenAI on each and every call)

1 Like

Yes, that exactly what i meant (chat GPT can search for live information).

That work around is lot of work to be done BTW, right?
I thought that it could exist some easier way to make that happen