Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"Give me a JSON document when the keys are countries in the G20 and the values are their GDP for the year 2020"

With the Wolfram plug-in, this works and provides good data! It stops three short of the goal probably due to rate limiting, but I think you can get the point: https://chat.openai.com/share/9d6695a9-5ba8-44d8-9ec8-11fcba...

This same kind of query works with any reasonable structured data format.



That sounds like something Wolfram could do without chatGPT. It accepts natural language input.


You could have tested this easily. It doesn't look like you can get JSON directly out of it, nor any other type of data that meets the criteria of the query.

https://www.wolframalpha.com/input?i=Give+me+a+JSON+document...


It's a paid feature but you can, in more formats than JSON too. If you click the little Data icon it expands and gives you a bunch of options.


Where ChatGPT then wins is the ability to progressively tweak the output until it is exactly what you want.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: