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

I found it rather strange that the new AndrewNG course about prompting, that features an OpenAI employee, says nothing about templated output.

To me this is a killer feature of GPT, being able to turn a document into a json or any other template.

The kind of prompt is just amazing for GPT (try it with a blog post, document or any other thing): "Analyze this document and transform it into the following format:

<title>

<summary (text conciseness: 5/10)>

<content bullet points (text conciseness 3/10)>

<content_item 1>

<content_item 2>

<content_item N>"

Also you can ask the same prompt in a json and GPT will gladly transform a PDF into a JSON.



Templated output means you could build flexible user interfaces to interact in novel ways beyond a mere text input. What I find absolutely incredible right now is that any novel idea I have about "it would be nice if you could do X" is only taking a few days to reach any mainstream tech news source. I used to think the same thing about RubyGem ideas in the late 2000s, and within 6 months a useful package would come out. I put it down to many people consuming the same information at the same time coming up with the same ideas. It's happening much faster this time. 12 months from now who knows what's going to happen!




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

Search: