News for hackers. Stuff that matters.
Re:ChatGPT Cheat Sheet by sarchertech on Tuesday January 24, 2023 @01:27PM (#34507769)
> turning a chunk of HTML into JSON for example

I haven't done exactly that, but based on similar examples this is likely very vulnerable to hallucinations.

Re:ChatGPT Cheat Sheet by simonw on Tuesday January 24, 2023 @01:50PM (#34508144)
For simple things it's pretty safe. I tried pasting in HTML from the homepage of Hacker News and having it turn that into a list of JSON objects each with the title, submitter, number of upvotes and number of comments.

Here's a similar trick I did with Copilot: https://til.simonwillison.net/gpt3/reformatting-text-with-co...