Hello everyone,
I’m developing an application in Node.js using the official OpenAI package to interact with its AI models. My goal is to retrieve the updated values of certain financial assets, such as stocks, cryptocurrencies, etc.
The issue I’m facing is that when I send a prompt requesting the current prices, the model returns outdated data. However, when I try the same prompt directly in ChatGPT (via its web interface), it seems to fetch data from the internet and provides updated values.
This raises the following questions for me:
- How is it possible that ChatGPT can access updated information, but my implementation with OpenAI’s API cannot?
- Do I need to implement something additional, like an assistant that integrates external APIs, or is there a specific functionality in the model that I need to enable?
- Is it possible to integrate a method to combine OpenAI’s capabilities with real-time internet data to achieve this goal?
I’d greatly appreciate any guidance on how to solve this issue and take my implementation to the next level.