# Prompt Lecture — 2026-10-28(Wed) - Source: AI prompt lecture (lecture name and instructor are not in the notes) - Length: 1 hour - Original memo: `inbox/study-2026-10-28-prompt-lecture.txt` ## 1. One-line summary A prompt is a request you make to the AI, and to write good ones you give it a role, context, format, and examples, and split the work up. ## 2. Key points 1. Give it a role — decide what kind of person the AI should answer as. e.g. "You are a cafe marketer" 2. Give it context — tell it who will read this and why you need it. 3. Set the format — say in advance what shape you want the answer in. e.g. as a table, in 3 lines 4. Show examples — show a model of the answer you want first. This is called few-shot. 5. Split it up — don't hand over everything at once; ask step by step. ## 3. New words | Term | Meaning | |---|---| | Prompt | A request you make to the AI | | few-shot | Showing examples in a prompt | | Token | Small pieces that text is cut into. The AI's length limit is set by these. | | Hallucination | A convincing lie the AI tells | ## 4. Watch out for - Hallucination — always check numbers, names, and dates in AI answers. ## 5. Questions to ask - How many examples (few-shot) is best? ## 6. Things to try - When writing Instagram posts (date not in notes): try putting role+format in the prompt ## 7. What happened when I tried - (not tried yet)