LLMs & Generative AI for Practitioners
Back to Prompt Engineering and Patterns

Prompt Engineering Fundamentals

What makes a good prompt — the practical version, not the philosophical one. FIND_VIDEO: search 'prompt engineering basics best practices' — recommended channel: DeepLearning.AI / Anthropic / Greg Brockman. Aim for 11 min or under.

13 minutesVideo LessonPDF notes
🎯 Free Guest Mode: You are learning for free. Sign in to save your completion progress and quiz answers.
Loading progress...

Key moments

  1. Foundations and Hallucinations — Mitigate hallucinations by structuring prompt communication interfaces for core LLM tasks.
  2. RAG for Domain Grounding — Ground generative outputs using vector databases to inject verified proprietary data.
  3. Chain-of-Thought Prompting — Decompose multi-step queries into discrete arithmetic and logical intermediate steps.
  4. ReAct Framework — Iterate through Thought, Action, and Observation cycles to integrate external tools.
PDF notes

Frequently asked questions

Why does an LLM hallucinate when answering domain-specific queries?

Conflicting training data causes the model to guess plausible-sounding answers instead of returning verified facts.

When should I choose ReAct over standard RAG?

Choose ReAct when answering requires multi-step decision-making, conditional tool invocation, or querying live external APIs.

How does Chain-of-Thought improve arithmetic performance?

Breaking problems into intermediate reasoning steps allows the model to compute intermediate sub-goals sequentially before final aggregation.

How was this lesson?

Your feedback helps us refine explanations and catch bugs.