Source

Full AI Prompting Course with Andrew Ng

Watch on YouTube

Andrew Ng teaches that effective prompting depends on supplying relevant context, assigning genuinely difficult tasks, steering research toward reliable sources, and iterating rather than expecting a perfect result from one short prompt. He presents AI as a thought partner that can brainstorm, reason, research, write, critique, work across modalities, build simple applications, and write and execute code for data analysis—while emphasizing neutral framing, verification, and careful permission controls.

- AI gives more customized answers when it receives the information a trusted human advisor would need, including relevant files, constraints, preferences, and prior feedback. - For complex work, Ng recommends using a modern reasoning model, supplying substantial context, and explicitly asking it to think hard. - AI can serve as a thought partner by generating options, receiving feedback, and repeatedly refining ideas rather than merely producing a one-shot list. - Neutral questions and explicit grading rubrics reduce sycophancy and produce more objective criticism. - Users should choose among pre-trained knowledge, web search, deep research, and code execution according to whether a task requires common knowledge, current information, broad synthesis, or calculation. - AI can write and run code to analyze uploaded data, calculate results, create graphs, and extract basic insights, but its conclusions should still be checked.

Based on Andrew Ng's public content. Not affiliated with or endorsed by Andrew Ng.

Supports these rules

Quotes from this video

“Remember to give it as much context as is needed to carry out the task.”

“I encourage you to give the AI model real job tasks, real problems that you want to think through or that you want to solve,”

“It's okay to try giving a hard task to see what it can do, so don't just give a trivial”

“You could use just a pre-trained knowledge, or web search, or deep research, and we also walk through how and when to use these different options.”

“Then give it feedback on the different options, and ask it for more options, and iterate multiple times.”

“Give more options, give feedback, give more options, give feedback, and do that a few times until you have one or more ideas that you're satisfied with.”

“One technique that I think you'll find helpful is to use progressive outlining, in which you don't ask AI to write the final text right away, but instead have it write an outline, refine the outline, and iterate a few times before having it generate the final text.”

“If you're trying to think about what context to give to the AI model, think about what's all the information that a trusted advisor would need in order to think at length and reason and then give you a good answer to your question.”

“So that's why editing the outline or iterating with the AI system on the outline is very high leverage, because you can figure out how to change just a few words of the outline, and this will result in an entire paragraph or entire section of your”

“Thinking about what's in the AI model's context and managing that so it has just the relevant information and hopefully not too much irrelevant information, although it can ignore a little bit of it, that will help you get better answers from your AI.”

“One of the most helpful uses of AI is as a thought partner.”

“Especially with reasoning or thinking models, I also encourage you to try giving the model hard tasks to see what it can do for”

“And this leads to sycophancy. And sycophancy feels hopeful, but actually degrades answer quality.”

“Sycophancy, despite a lot of attempts to combat it, is still one of the pervasive issues with practical AI usage today.”

“to point out problems. To avoid sycophancy, try to use neutral framing of your questions and avoid giving any hints as to what is the answer you want to hear.”

“And for queries that require calculation or drafting, those are the types of questions where it's most likely to write and run some code in order to carry out that task precisely for you.”

“AI model. AI isn't always reliable, and it's better at simple analyses than really complex ones, so consider double-checking these conclusions.”

Topics