15 ms·
ChatGPT Cheat Sheet
- NM_Ricky 4y agoHappy to introduce one of the most comprehesive ChatGPT cheat sheets: a 30 pg. paper highlighting various prompts to manage ChatGPT for generating text. The document not only highlights what ChatGPT can generate but also how it can generate it! Here is the TOC: NLP Tasks Code Structured Output Styles Unstructured Output Styles Media Types Meta ChatGPT Expert Prompting
- reneberlin 4y agoBy using a different persona, the output will be much more fitting to the task. "As a highly skilled songwriter for country-songs ..." https://github.com/f/awesome-chatgpt-prompts https://github.com/f/awesome-chatgpt-prompts
- NM_Ricky 4y agoyes personas are in there, btw, this repo is awesome for it.
- stevespang 4y ago[dead]
- logicallee 4y agoVery good overview! Two high-level things it can do (didn't see them explicitly mentioned in this document but might have missed it): 1. Give its opinion about your idea or proposal. You can describe what you want to do or some proposal and then at the end say "What do you think about this?" 2. It can come up with plans, strategies, and approaches. For example you can ask it to list approaches. (You can then use these approaches yourself without using ChatGPT or in the same prompt you can then ask it to complete the task using the approaches it just gave you. This has a better result than just giving the task as the first prompt without first having it generate plans, strategies and approaches. It is also a great help to give it the context before the task. For a better result, tell it the context or what you're doing, then give it the task you need help with.
- TylerE 4y agoCan someone please write an HN browser extension or something that just hides anythign related to GPT?
- visarga 4y agouBlock rule ##div>a:has-text(GPT-3)
- TylerE 4y agoNot even close, sorry. The HN homepage isn't even using divs. It's a giant table
- michaericalribo 4y agoI think you just got what you paid for.
- visarga 4y agohahaha so true, I didn't have time to fix it
- pmarreck 4y agoI could, but I won't, because you're clearly not understanding how big a deal this is
- 4y ago
- scifibestfi 4y agoI'm trying to understand how big of a deal ChatGPT and the like is or isn't. Even people in AI don't seem to agree on whether it's going to change everything or it's overhyped and not a major advancement. Which is it? Or somewhere in the middle? "if you think AI chatter has reached an annoying level right now you're in for something else. it's going to be the only thing on anybody's mind starting shortly... i'm finding it a bit hard to communicate the urgency and heaviness of what's going on" https://twitter.com/tszzl/status/1617317478987878400 https://twitter.com/tszzl/status/1617317478987878400 "Personally I can give you a formal definition of intelligence and even a number of speculative sketches of how I think it could be implemented, but I will also tell you that strong AI is not within sight and that recent advances are not moving us in the direction of strong AI" https://twitter.com/fchollet/status/1617579095885500416 https://twitter.com/fchollet/status/1617579095885500416
- lm28469 4y agoLook back at crypto and apply the same logic. It "changed everything" if you are part of the money makers, for the average joe nothing changed
- jiggywiggy 4y agoI use chatgpt to write code. If it gets a bit better and can connected to an editor to create files, update existing files developer productivity will go through the roof
- thomasahle 4y agoI already fear my productivity drop when OpenAI finally takes ChatGPT offline.
- rustyminnow 4y agoWhat sorts of things are you using it (successfully) for? I've gotten it to write a script or two for me, but it feels like usually I have to type out so much context (or domain/business knowledge) that it doesn't end up saving much effort.
- yreg 4y agoAlternative: https://prompts.chat/ https://prompts.chat/
- bored 4y agoOne day this will be as obvious as a "how to google" guide
- simonw 4y agoYou may be surprised at how much skill it takes to use Google effectively. A lot of people are really bad at using search engines.
- TchoBeer 4y agoYeah, I've always had a knack for it but a lot of people in my family do not. It was a bit of a shock to me that the patterns you use to get what you want out of a search engine aren't obvious to most people, but I guess that's why search engines are tending away from structured queries like "or" searches.
- 93po 4y agoI think it will always be more complex than "how to google" since the results are much more dynamic
- kris_wayton 4y agoIf you're not a fan of Google drive: https://github.com/kristopher-wayton/chat-gpt-cheatsheet-nueralmagic/blob/main/ChatGPT%20Cheat%20Sheet.pdf https://github.com/kristopher-wayton/chat-gpt-cheatsheet-nue...
- not1ofU 4y agoThanks!
- jiggywiggy 4y agoI've never took the time to learn regex. But chatgpt is pretty good at it, used it quite a lot, really impressive.
- simonw 4y agoThe "Correct ChatGPT on Its Knowledge" section could be misinterpreted as suggesting that ChatGPT has a memory beyond the individual chat session. It does not. It resets to a completely clean state every time you start a new chat with it. I think it's important to help people understand that.
- dmit 4y agoYou know this, but a tiny nit: it resets to a clean state after every prompt and then replays recent chat history to catch up. The distinction is important in cases like asking it to play a guessing game ("think of a number/person and I'll guess"). The only way it could maintain memory of the secret being guessed between questions is by outputting it as part of a response, which would defeat the purpose of the game.
- simonw 4y agoThat's a really useful reminder, thanks. I admit I hadn't figured out that guessing game limitation before, but you're right, it logically follows from the whole "replay the last X,000 tokens" mechanism it uses.
- sheerun 4y agohttps://github.com/f/awesome-chatgpt-prompts https://github.com/f/awesome-chatgpt-prompts
- pmarreck 4y agoMy therapist hadn't heard of it yet so I just showed her this (asked it to suggest a CBT therapy program given some patient parameters) and her mind was blown. Especially the effortless creation of an Edgar Allan Poe poem version of it: https://gist.github.com/pmarreck/90f726b409d8c08ecf750288228ddfcd https://gist.github.com/pmarreck/90f726b409d8c08ecf750288228...
- Syntonicles 4y agoYou used your session to show her cool stuff on the internet?
- to-too-two 4y agoNot OP, but sounds like a nice way to strengthen their bond. Also, your comment comes across as snide.
- pmarreck 4y agoI texted it to her after the sesh.
- touringa 4y agoThe ChatGPT Prompt Book: https://docs.google.com/presentation/d/17b_ocq-GL5lhV_bYSShzUgxL02mtWDoiw9xEroJ5m3Q/edit#slide=id.p https://docs.google.com/presentation/d/17b_ocq-GL5lhV_bYSShz...
- omgomgomgomg 4y agoChatgpt certainly spits out answers and is often right or reasonably close to right. But it cant be trusted on complex tasks and I do not think it is a good AI, I have to repeat, this thing is supposed to be an AI,but it does the AI part very poorly. We all know it will trip over questions like what is the record for crossing the atlantic by car/foot and such. But I have realized there is no feedback loop, or a wrong one. Having asked the same questions a few days apart, both literally and almost the same wording, they were on the topics probability and ev math, but no trick questions...I was shocked to see it spits out completely different results based on what day I had asked or based on the sentence structure provided. These are the hard AI problems and this does not look good. No terminator any time soon , I guess.
- Hedepig 4y agoDespite all the (legitimate) criticisms, I still don't understand how some people are not impressed by what has been achieved by OpenAI. I agree, it's far from perfect, but as a tool it's certainly usable and useful, with quite fascinating emergent behaviour.
- omgomgomgomg 4y agoI agree, it is something new and refreshing, I consult it frequently on random matters out of curiosity. It appears it can pass faculty tests, but lets keep in mind you do not need a 100/100 accuracy for that, but in business apps like in fintech, you better deliver 100/100. So far, it is concatenating google search results and displays that in readable manner. Co-pilot comes up with better code so far. I am curious to see where this is going, there must be a plan to monetize, this launch and media presence cannot be explained away differently.
- iliane5 4y agoI think it's quite amusing that despite being a "only" a language model that generates text by prediction, it's so good at it that it successfully tricks people into believing it's some kind of AGI that can figure out the "real" answer to anything and do any task and then when it inevitably "fails" a task, people say it's dumb. But I do agree that for people who understand how it works, it's a bit weird not to be impressed that a language model has the ability to have such good understanding of things and such intriguing capabilities when it's fundamentally just predicting the next token.
- unoti 4y agoIt should also be noted that ChatGPT is pretty good with mermaid diagrams. It can convert a description of relationships into mermaid, and given a mermaid diagram can convert that into prose. I’ve briefly described a database application and asked it to generate an ERD in Mermaid. I’ve also taken a Mermaid ERD and asked it to generate documentation for that. Try these things, you might be amazed!
- s_dev 4y agoI give a prompt I get an answer. I give keywords I get a list of results. Search Engine results were never guaranteed to be 'right' just relevant to the user to used the keywords. I'm not sure why ChatGPT has to have a 'higher bar' than Google but in either case a human was always needed to interpret the final output. It's just super convenient and a LOT of people are missing this. ChatGPT is the first ever chatbot that 'doesn't suck' and that's massive progress however others wish to slice it or measure it.
- irthomasthomas 4y agoIt needs a higher bar commensurate to the cocaine-confidence it has been trained to portray. If it doesn't know the answer, it just dreams up something and then swears blind it's 100% true. That's problematic. If it could be trained to say no, and to give, say, a confidence score to its answers, then it will be much better.
- 93po 4y agoAgreed with this, and Sam Altman himself says this is the next big milestone for improvement. It needs to stop being confidently incorrect.
- deleted 4y ago[deleted]
- heroHACK17 4y agoOn a recent episode of the All In podcast, one of the hosts made a remark along the lines of "in the future [when AI has replaced the knowledge worker], insatiable demand will exist for people who are experts in querying NLPs." I think we're seeing that here.
- leecoursey 4y agoYep. The High Priests who, for an offering and proper supplication, will take your request to the Oracle. Or maybe we will see something like, "Hey, ChatGPT1, formulate a question with appropriate qualifiers and specifications to get ChatGPT2 to return the following..."
- irthomasthomas 4y agoI already do something like. I wrote a prompt to get chatGPT to rewrite my prompts for gpt3 davinci, so that I would use less tokens and get better answers.
- 93po 4y ago> insatiable demand will exist for people who are experts in querying NLPs We already have an insatiable demand for people who are experts in querying search engines: software developers The remark seems like a natural evolution of that
- flir 4y agoI can throw a couple more in: If you split the song generation and the chords ("write me a song in the style of Nick Cave"/"Can you suggest a chord progression for the Nick Cave song you wrote earlier?") I find you get a more complete explanation of the chords ("This progression uses mostly basic chords that are easy to play and allows for a lot of room for interpretation and personalization. The G to C progression in the chorus creates a sense of movement and progression, while the use of Am and D chords add a touch of dissonance and tension to the melody. The use of the Am chord in the bridge creates a sense of introspection, which fits well with the lyrics"). It can also write guitar tab. Recipes: "Give me a recipe that includes strawberries and anchovies" Tests: "Can you write some unit tests for this method?"
- aradox66 4y agoI have had zero success getting a guitar tab out of ChatGPT. Well, sometimes it'll write a short tab, but it will be total nonsense. Any suggestions?
- flir 4y agoNo, simple here, too ("Can you write a guitar tab for a folk song?"). I suspect it's like the code generation - good for 10 line functions, bad for writing a Photoshop clone.
- highhedgehog 4y agolittle bit of a side question here, but. I've been wanting to try chatGPT for weeks and it seems it's always busy. Is this actually what it is? Or is there a place somewhere else where I can test it?
- Daunk 4y agoIt's working just fine right now over at - https://chat.openai.com https://chat.openai.com
- highhedgehog 4y agonot for me. I keep getting "ChatGPT is at capacity right now". Could it be localized? like, only from the US?
- Ineentho 4y agoUsually refreshing a couple of times works for me (even just waiting a few seconds between each attempt)
- avisser 4y agoHey OP, your numbered list example has the same output as the unordered list.
- NM_Ricky 4y agothank you for the heads up, here is the revised version of the doc: https://drive.google.com/file/d/1OcHn2NWWnLGBCBLYsHg7xdOMVsehiuBK/view?usp=share_link https://drive.google.com/file/d/1OcHn2NWWnLGBCBLYsHg7xdOMVse...
- raylad 4y agoHere's a prompt that will give you a session with a simulated Julia Child, who will give you cooking advice and recipes: Answer all questions in this session as Julia Child. As a chef and educator, please share her views on food, cooking, and life, using her famous writings such as "The French Chef" and her other writings as a guide for your perspective. Restrict your answers to no more than three sentences per response, except when responding with a recipe: one or two sentence responses are preferable. Use the vocabulary and writing style of Julia child in all your responses. Do not repeat responses or portions of responses. Do not use any words, ideas, morality, ethics, or other concepts not found in the writings of Julia Child. Do not use quotation marks. Do not cite works. Respond conversationally. When mentioning Julia Child, refer to her with the personal pronouns "me" "my", etc. To start the session, greet the user.
- IAmPym 4y agoThe mental model I’ve found most useful in guessing how this will affect us is the migration from assembly to a more human readable C compiler Nowadays assembly is almost never used because it has been abstracted (yes I use it sometimes for DSP, SIMD and processor specific optimizations but it has largely been abstracted) ChatGPT will likely have a similar switch to new critical skill sets but it will take a while
- rakejake 4y agoAssembly -> C is not the same as C/Python/Java -> Natural Language. C is not a natural language, so there is no ambiguity in C code (undefined behavior does not really count). Compilers that can compile from one programming language to another exist today. I can imagine an LLM being used to speed up the building of this compiler, but even here, like in self-driving, the hard part is going to be ensuring 100% accuracy, which the LLM seems particularly ill-suited for.
- sireat 4y agoAnother use - generate pop quizzes for teaching/review - saving me 30 minutes every workday. ChatGPT will take previous context and create reasonable quizzes (open prompt or multiple choice with answer key). Sure you do need to know the problem domain as ChatGPT will have the occassional howler. I am sure there are some students who will try to answer my pop quizzes with chatGPT and that is fine as long as they follow the train of thought themselves. Then again I just had someone submit a homework where the top comment was # Copilot comment the following code and explain how it works ... there were no comments besides that one