Skip to the content.
N
Notezio
/ AWS Certified AI Practitioner (AIF-C01)

Prompt Engineering

What is Prompt Engineering?

Negative Prompting

Prompt Performance Optimization

Prompt Latency

Prompt Engineering Techniques

Zero-Shot Prompting

Few-Shot Prompting

Chain of Thought Prompting

Retrieval-Augmented Generation (RAG)

Technique Selection Guide

Scenario Technique
Quick task, trust model knowledge Zero-Shot
Need consistent output format Few-Shot / One-Shot
Complex multi-step problem Chain of Thought
Need external information RAG

Prompt Templates

Benefits of Prompt Templates

Security Concern: Prompt Injection Attack

Protecting against prompt injections