Prompt engineering terms
How to ask AI for what you want: prompts, system prompts, few-shot and chain-of-thought prompting, plus settings like temperature and top-p.
C
Chain-of-thought prompting (CoT)Chain-of-thought prompting asks an AI to work through a problem step by step before giving its answer, which often improves accuracy on harder questions.Context engineeringContext engineering is choosing what an AI model sees for each request, such as instructions, documents, memory and tool results, so it can answer well.Custom instructionsCustom instructions are standing preferences you give a chatbot, like your job or preferred style, so it applies them to every conversation.
F
Few-shot promptingFew-shot prompting means including a few worked examples in your prompt so the AI copies the pattern, format or style you want.Frequency penaltyFrequency penalty is a setting that discourages an AI from repeating the same words, with a stronger effect the more often a word has already appeared.
M
P
Presence penaltyPresence penalty is a setting that nudges an AI toward new words and topics by penalising any word that has already appeared, however many times.PromptA prompt is the instruction or question you give an AI tool, such as a message to a chatbot or a description for an image generator.Prompt chainingPrompt chaining breaks a big task into a series of smaller prompts, where each step’s answer feeds into the next.Prompt engineeringPrompt engineering is the skill of writing and refining prompts so an AI gives more accurate, useful and consistent results.Prompt templateA prompt template is a reusable prompt with blanks to fill in, so you get consistent results for a task you do often.
R
S
T
TemperatureTemperature is a setting that controls how random or creative an AI’s output is. Low values give focused, predictable answers; high values, more varied ones.Top-pTop-p is a setting that limits an AI’s word choices to its most likely options, such as those making up 90% of the probability. Lower values are more focused.