Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
ChatGPT3 Prompt Engineering (github.com/mattnigh)
131 points by strazor on Feb 8, 2023 | hide | past | favorite | 21 comments



What’s great is that you can use this same technique with your friend that got real deep into improv.

* Act as a medical expert on the topic of appendix resections, and well-respected educator. The audience for your presentation are third graders. Provide a comprehensive overview of how they can remove an infected organ. Perform it in the style of Sanjay Gupta. Provide three different strategies using tools that might be available in the kitchen.*

Except your improv buddy will play up that it’s all bullshit because they know what they don’t know, and ChatGPT will earnestly explain how to fix your appendicitis with a corkscrew and some oven mitts.


I just got this back and it’s hilarious:

Spatula and a Spoon: The second way is by using a spatula and a spoon. The doctor would use the spatula to gently lift the appendix out of the belly, and then use the spoon to scoop it out.

Excellent prompt work Sir


"Finally, we could try using a kitchen blender to blend the appendix into small pieces, but again, this is not a real medical procedure and should never be attempted."

I think it just came up with a terrifying horror movie scene. I don't think I would have ever thought of this scene in a billion years and now I can imagine all the possible horrifying ways to portray this. GPT technology is crazy


“…this medical procedure is generated by Open Ai. YMMV.”


Can't seem to used Personalities any more.. "I apologize but it is not possible for me to mimic specific writing styles as I have been trained to write in a neutral and professional tone. However, I will do my best to provide a clear and concise answer to your question."


Not to be pedantic but maybe remove the "GitHub" from the title. Some people might get confused thinking this is something official amid recent investment of MS (GH owner) in ChatGPT. Nonetheless, fascinating!


"act as an expert on software development on the topic"

I dont think this part changes anything. When ChatGpt passes text from the "output" to itself for post processing, it changes the tone to the one you define. but you can simply do this by setting "TONE:" because that's what the postprocessor does and also thinks like spelling and gramatical correctness


Can we stop calling everything "engineering"?


Prompt crafting?


The GitHub is about designing prompts so it could have been called Prompt Design.


This. It's quite disrespectful to all those people who've actually put time and effort into studying proper technical subjects to earn those title (plus it's actual illegal to brand yourself as an engineer in some countries iirc)

Putting together some strings to feed to an ANI is NOT engineering.


I'm personally not a fan of gatekeeping. And your example is a false equivalency -- no one is claiming to be a professional engineer here.


I think, in this case, this is not so much gatekeeping as a different definition of what it means to be an engineer. Most anywhere outside of the United States shares that definition - one that requires one to have met certain obligations, both in terms of education and demonstration of abilities, but also of responsibility for the results of their efforts - that the US does not have. An engineer is responsible for what they have built in most places in a way that software engineers are not, and prompt engineers even less so. Those individuals (rightly) feel slighted that the term of art that applies to them does not hold the same weight in other circles, and that those individuals profit off of this difference in definition.

Sometimes the gate is kept because to pass beyond is to take on a responsibility that not everyone is fit or willing to bear.


Prompt engineer is derived from software engineer, which only is sometimes justified. It is basically diluting the word with increasingly less meaningful context. An engineer needs to be able to make guarantees and statements about what he engineers. You can do that with software if you are careful but the vast majority of software development is not engineering because engineering is too expensive and overkill most of the time.

But now that AI is in the mix and the results are purely stochastic, you basically threw out the entire meaning behind the word. The prompt engineer is unable to make guarantees and accurate statements about his prompts. He can't predict what the machine learning model is going to do, otherwise he wouldn't have asked.


It's interesting that prompt engineering is such an art right now.

I wonder if these models could be, in the future, be more controlled formally by using the language of maths instead.


It will be just called a library then :)


To what degree can you keyword spam your prompt engineering? Or does the stop words and “filler” actually help ChatGPT?


> Prompts for Web Developers

> "What is the difference between HTML, CSS, and JavaScript?"

Uhh, definitely the question for Web Developers


Very cool collection. Appreciate putting it together


> CRISPE Prompt Framework:

But what is the R??


Nice great principles, really interesting how creative writing is now seeing a huge resurgence as a marketable skill.

Those principles also work well in other AI text generators like https://text-generator.io




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: