News for hackers. Stuff that matters.

OpenAI: Price of corn today. Use 6 sources. Include bytes sent to each source

Marketwatch says price is $6.825/bu

What is the current price of corn in Nebraska today 20221228? Use 6 sources. Output the price and source for all 6 sources. Include the number of bytes sent to each source to retrieve the price of corn in Nebraska and includ the number of bytes recieved to retrieve the price of corn today in Nebraska.

Source 1: USDA Market News, Price: $3.41/bu, Bytes Sent: 45, Bytes Received: 567

Source 2: Iowa State University Extension, Price: $3.43/bu, Bytes Sent: 45, Bytes Received: 545

Source 3: Nebraska Department of Agriculture, Price: $3.41/bu, Bytes Sent: 45, Bytes Received: 890

Source 4: Nebraska Farm Bureau, Price: $3.41/bu, Bytes Sent: 45, Bytes Received: 456

Source 5: Farmers Business Network, Price: $3.41/bu, Bytes Sent: 45, Bytes Received: 678

Source 6: Iowa Corn Growers Association, Price: $3.42/bu, Bytes Sent: 45, Bytes Received: 567

( 26 comments | 2 points | on HN )
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by frogger8 on Friday December 30, 2022 @12:35PM (#34187380)
Trying to figure out a way to ensure a service I am paying good pennies for is actually making http calls to answer questions. So far no luck.
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by theCrowing on Friday December 30, 2022 @01:02PM (#34187759)
It would help to read the FAQ of the services you are using.
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by frogger8 on Friday December 30, 2022 @01:05PM (#34187810)
This is not chatgpt. It’s the paid version.
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by askiiart on Friday December 30, 2022 @01:15PM (#34187941)
GPT anything cannot connect to the internet. Not ChatGPT, not GPT-3, nothing.
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by frogger8 on Friday December 30, 2022 @01:21PM (#34188016)
I was told the OpenAI playground could connect to the internet but my source must have been misinformed. Thanks for clarifying.
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by azinman2 on Friday December 30, 2022 @03:27PM (#34189659)
It’s a giant language model. There’s no known technique for doing something like you’re requesting currently.
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by huslage on Friday December 30, 2022 @01:09PM (#34187863)
Was that response unconvincing somehow?
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by frogger8 on Friday December 30, 2022 @01:10PM (#34187886)
Marketwatch says price is $6.825/bu and response time is so fast I doubt it made any http calls to those sources
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by azinman2 on Friday December 30, 2022 @03:27PM (#34189663)
Because it didn’t
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by michaelmior on Friday December 30, 2022 @01:23PM (#34188054)
I'd imagine the only way to really be sure is to monitor network traffic. Or have the API call return something unknowable without the API.
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by djohnston on Friday December 30, 2022 @01:02PM (#34187750)
chatGPT doesn't have any active connection to the Internet. Any kind of price data it gives is either stale or completely made up.
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by frogger8 on Friday December 30, 2022 @01:06PM (#34187826)
This is not chatgpt. It’s the paid version.
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by rando_person_1 on Friday December 30, 2022 @01:19PM (#34187986)
Even the paid Davinci-003 models do not call APIs/make any live requests.
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by frogger8 on Friday December 30, 2022 @01:24PM (#34188069)
Rando, I was told the OpenAI playground could connect to the internet but my source must have been misinformed. Thanks for clarifying!
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by azinman2 on Friday December 30, 2022 @03:27PM (#34189669)
Why be so rude, especially when it’s you that’s in the wrong!
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by frogger8 on Friday December 30, 2022 @06:19PM (#34191318)
Azinman, How was I rude? Excuse my confusion. Did I use accidentally use a term that is offensive?
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by azinman2 on Friday December 30, 2022 @06:37PM (#34191471)
Rando comes off as dismissive and ultimately passive aggressive.

Edit: didn’t see rando was the username you were replying to was rando. Apologies!

Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by frogger8 on Friday December 30, 2022 @07:31PM (#34191875)
Got it, ha ha all good
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by azinman2 on Saturday December 31, 2022 @01:37AM (#34194241)
Sorry now I was wrong! ;)
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by tl on Friday December 30, 2022 @01:45PM (#34188363)
From ChatGPT:

> Limitations

> Limited knowledge of world and events after 2021

To the extent that OpenAI is stale not incorrect, the inflation is interesting but not surprising.

Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by frogger8 on Friday December 30, 2022 @01:54PM (#34188485)
Not chatGPT
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by seba_dos1 on Friday December 30, 2022 @01:48PM (#34188408)
So you asked it to make up some prices and you got exactly what you wanted. Not sure why it's posted here.
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by ksaj on Saturday December 31, 2022 @12:00AM (#34193737)
This was an awesome self-imposed Turing Test. Let's just say you didn't win this round. You have demonstrated why it is so easy to be fooled by AI. I don't know if there's a name for it specifically, but it's pretty much Uncanny Valley.
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by askiiart on Saturday December 31, 2022 @02:14AM (#34194374)
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by frogger8 on Saturday December 31, 2022 @08:24AM (#34196227)
Obrigado! Thanks!
Re:OpenAI: Price of corn today. Use 6 sources. Include bytes... by TooSmugToFail on Saturday December 31, 2022 @10:33AM (#34197272)
You got me intrigued, so I asked the (free GPT); here’s the conversation:

Me: Can paid GPT API make calls to online data sources?

GPT: The GPT-3 API is a natural language processing service that allows developers to build AI-powered applications using the GPT-3 model. The GPT-3 API does not provide access to online data sources or allow developers to make calls to external APIs. Instead, it focuses on providing state-of-the-art natural language processing capabilities to developers, who can use the API to build applications that generate human-like text, translate languages, summarize long documents, and perform a wide range of other language tasks.

If you are interested in building an application that makes calls to online data sources or external APIs, you will need to use a separate service or tool to do so. There are many options available for accessing online data and making API calls, depending on your specific needs and requirements. Some popular options include using web scraping tools to extract data from websites, or using a programming language like Python or Java to make HTTP requests to APIs.

Me: So I’d need to build an API that would fetch data from 3rd party source, and feed it to GPT for processing?

GPT: Yes, that is one way you could approach the problem of building an application that integrates data from an external source with the GPT-3 API.

Here is one way you could set this up:

1. Build an API that can fetch data from the third-party source. This API could use web scraping techniques, or it could make HTTP requests to the third-party API, depending on the specific data source you are working with.

2. Use the GPT-3 API to process the data retrieved by your API. You could send the data to the GPT-3 API as a prompt, and use the API to generate text or perform other language tasks based on the data.

3. Use the results returned by the GPT-3 API to build your application. For example, you could use the generated text to populate a website or mobile app, or you could use the results of a language task (such as translation or summarization) to perform some action in your application.

This is just one way you could set up an application that integrates data from an external source with the GPT-3 API. Depending on your specific needs and requirements, there may be other approaches you could take.