Prompting Strategies and Tips › Glossary
AI Agent HandbookAll chapters Prompting Strategies and Tips › GlossaryOne section · Sections in this chapter9 / 10 ↓
Few-Shot Prompting: A technique where you provide the AI with a few examples of the pattern or task you want it to perform, allowing it to learn by demonstration rather than explicit instruction.
Role Assignment: The practice of giving the AI a specific persona or role (like "teacher" or "expert consultant") to guide how it approaches and responds to tasks.
System Message: A special type of prompt that sets the AI's behavior or role for an entire conversation, acting like stage directions that persist across multiple interactions.
Iteration: The process of repeatedly testing and refining prompts based on results, making incremental improvements until the output meets your needs.
Delimiter: A marker or separator (like triple quotes or XML tags) used in prompts to clearly distinguish different sections, such as examples, instructions, or content to be processed.