How Can I Use ChatGPT to Fetch Real-Time Product Prices and URLS from the Internet?

This topic was automatically generated from Slack. You can find the original thread here.

Hi Everyone,

I need some help with executing a workflow. I’m trying to search for products item that uses AI like chatgpt to output some prices and source url e.g [price: $100, url: https://amazon.com/nike-air] but I’m getting a message that says: “Sorry, as an AI model developed by OpenAI, I don’t have the ability to browse the internet in real-time.” is there any better to do it?

here’s the user message I used to chatGPT: “How much is air jordan 3 cost now in the market and return the results of the source link and price in JSON format”

Thanks in advance!

You’ll need to fetch product data separately, then feed that information to your ChatGPT prompt. This technique is called Retrieval Augmented Generation (RAG).

Dylan - Pipedream cofounder also published a post here detailed how to build a Chatbot powered by ChatGPT on Pipedream

Hi Leo, thanks for taking time to reply.
I see, so there’s no way for chatgpt to single handed the search?

Also, by fetching product data separately, what would be the best tool to do that that you can recommend?

I’m actually making the flow dynamic as much as possible except for searching the actual product name as the keyword.

I see, so there’s no way for chatgpt to single handed the search?
Yes. Please think of ChatGPT as input processor (take user input) and output processing (produce friendly text). It can not and should not do everything for you

Also, by fetching product data separately, what would be the best tool to do that that you can recommend?
It depends on your usecase and products you want to search. You can search on the internet, I believe there’re various services that provide product data out-of-the box for you.

Remember: Pipedream provide set of tools, it’s up to you to decide how to use the tools to implement your usecase

I see. It’s strange, I tried ChatGPT in the browser with the same input, it could retrieve product data (it’s in the text format though). However, using the Pipedream ChatGPT tool, it seems to have difficulty.

Anyways, I guess I need more research how to execute this workflow.

Thanks