DEV Community

Cover image for ChatGPT with Real Time Information
Thomas Hansen
Thomas Hansen

Posted on • Originally published at ainiro.io

ChatGPT with Real Time Information

Do me a favour, go ask ChatGPT what date it is, then ask our AI chatbot "What's the date today?" - Notice the difference? This is because we've just implemented support for having our ChatGPT AI chatbots access real time information.

Today's date of course is probably something you already knew, and most people don't need a trillion dollar AI to figure out the date - But it goes much deeper. We've basically given ChatGPT the ability to act on real time information. Before I start listing potential use cases let's just enjoy this image for a moment though 😊

ChatGPT with Real Time Information

Use cases for this might be for instance;

  • "What's the stock price of Microsoft today?"
  • "Summarise today's news from CNN"
  • "How many people registered in our CRM today?"
  • And many more ...

Integrate ChatGPT with your existing software

In addition this can be integrated with your existing software systems. Whatever system's you've got, as long as it's got a database, and/or an API we can access somehow, we can inject information from your existing software system into the stream we're sending to OpenAI. Below is an example from our own chatbot backend.

Another example of ChatGPT with Real Time Information

You can reproduce the above yourself by asking our chatbot;

How many questions have you answered lately?

The way it works, is that we can embed Hyperlambda code into your training snippets, that ends up dynamically substituting parts of your context by executing the Hyperlambda code, returning dynamic content, that's injected into the stream of text sent to OpenAI before we ask it to answer whatever question is being phrased. Below is a screenshot of how we're able to give you the number of questions our chatbot has been asked the last 14 days.

How we get ChatGPT to access real time information

The parts inside the "{}" brackets of course is Hyperlambda code, that opens a database connection to our history table, and does a simple count of items. This Hyperlambda code is executed before we send the information to OpenAI, so the only thing OpenAI sees is;

The last 14 days I have answered 711 questions from happy users.

Then ChatGPT is using the above as its data foundation or "context" to answer whatever question the user have.

Wrapping up

Notice, depending upon the complexity of the data you want to inject, this is highly probably a custom job, and not included in the €49 per month subscription, since if we're to integrate your chatbot to your systems, we need to dedicate a software developer to manually write Hyperlambda code, doing the actual integration. This is a highly time consuming job, and also an expensive job for us.

However, we will be providing some "standard out of the box" questions in the future, such as stock ticker values, date and time, etc. If you want something custom though, that's a custom job with a custom price.

Top comments (7)

Collapse
 
mathwithnouman profile image
Mathwithnouman

"ChatGPT with Real-Time Information" refers to a version of the ChatGPT language model that has access to the most up-to-date information available at the time of interaction. Normally, ChatGPT has a knowledge cutoff date, which means it's trained on data up until a specific point in time (in this case, September 2021). However, with real-time information, the model can retrieve and incorporate current data to provide more accurate and relevant responses.

To achieve this, the ChatGPT model with real-time information may be integrated with external systems or APIs that can fetch data in real-time from various sources such as news websites, databases, or other online platforms. This allows the model to have access to the latest facts, figures, events, or any other information relevant to the conversation.

For example, if you ask a question about the current stock market trends, a ChatGPT model with real-time information can pull the latest stock market data and news to provide you with an up-to-date answer. Similarly, if you inquire about recent sporting events, the model can retrieve scores, player stats, and other relevant information from live sources.

By incorporating real-time information, ChatGPT becomes more useful in scenarios where accurate and timely information is crucial. It can enhance the user experience by providing more relevant, current, and accurate responses, keeping pace with the rapidly changing world.

Collapse
 
polterguy profile image
Thomas Hansen • Edited

You just perfectly described what we're doing ^_^

With one crucial difference being that we can integrate it with any software system you've got, also behind your firewall, such as your company's private CRM system, "whatever" system, as long as its got a database, and/or an API :)

However, we're not using any plugins or "special version" of ChatGPT - We're using our own developed platform allowing us to inject dynamically executed code before we invoke OpenAI's APIs ^_^

Collapse
 
mathwithnouman profile image
Mathwithnouman

Your'e Welcome

Collapse
 
arianygard profile image
AriaNygard

Not only is this one of the features I see most people wanting from the default ChatGPT, it's immensely valuable.
I haven't seen anyone else doing this with website chatbots yet, amazing work like always!

Collapse
 
therful74 profile image
Therful74 • Edited

This is an exciting development! The implementation of real-time information access in ChatGPT opens up a world of possibilities. Being able to retrieve dynamic data and integrate it into the chatbot's responses adds a new dimension to its capabilities.
The use cases for ChatGPT with real-time information are extensive. From obtaining stock prices and summarizing news articles to retrieving CRM registration data, the potential applications are vast and diverse. It's impressive to see how ChatGPT can now act on up-to-date information, providing valuable insights and responses in real-time.
One fascinating aspect is the ability to integrate ChatGPT with existing software systems. By leveraging databases and APIs, it becomes possible to inject information from these systems directly into the chatbot's responses. This level of integration opens up even more possibilities for personalized and contextually relevant interactions.
For those interested in exploring ChatGPT integration and leveraging its real-time capabilities, CyberCraft Inc. offers ChatGPT integration services. You can find more information about their services at ChatGPT integration. Their expertise in integrating chatbots with various software systems, utilizing Hyperlambda code, allows for seamless data integration and enhances the chatbot's functionality.
It's important to note that while some standard out-of-the-box features like stock ticker values and date/time information may be available in the future, more complex integrations may require customized solutions. These custom integrations might involve dedicated software development and incur additional costs.

Collapse
 
polterguy profile image
Thomas Hansen • Edited

I know ...!! ^_^

Psst - Check it out :D

Psst, thank you ^_^

Collapse
 
vijai_bishnoi profile image
Vijay Bishnoi