Loading video...

Video Failed to Load

Go Home

Here’s a 17min deep dive on advanced prompting techniques for LLMs. Fully demonstrated on a real-world, multi-step AI workflow. Watch for a complete breakdown.

196,561 views • 2 years ago •via X (Twitter)

10 Comments

Mckay Wrigley's profile picture
Mckay Wrigley2 years ago

The video covers: - prompt chaining - chain-of-thought with <scratchpad> tags - xml tags - system vs. user messages - output parsing - prefilling - information hierarchy - role prompting - goal prompting - recursive llm calls Lots of good stuff in there!

Mckay Wrigley's profile picture
Mckay Wrigley2 years ago

Link to the repo: Note that the prompts in the video are on the dev branch. Still more work to be done before we merge latest updates to main. Dev branch is experimental and may break when run.

Mckay Wrigley's profile picture
Mckay Wrigley2 years ago

One thing that I hope that this video makes clear is that learning to code allows you to do much more interesting, powerful things with LLMs! If you want to maximize your prompting skills it’s worth learning some basic programming :)

Mckay Wrigley's profile picture
Mckay Wrigley2 years ago

Put the full video on YouTube so that it’s a little easier to watch. I’ll probably do some more cross-post stuff with long video going forward.

Chirag's profile picture
Chirag2 years ago

how ppl are still vibe checking prompts is beyond me.. DSPy!

Mckay Wrigley's profile picture
Mckay Wrigley2 years ago

I’m not a fan of extrapolating away concepts under-the-hood - I’m notoriously against prompt “frameworks” (loosely defined). Practitioners should be as close to the pure prompt as possible. Combine that with good evals!

The Canaanite's profile picture
The Canaanite2 years ago

Man, this is mastery. Super valuable stuff, thanks. Also, Aider and Claude-Engineer are cool, but I don't think they are that cool. What you're building is something else, man; you've basically almost pseudo-solved system-2 for coding. And the UI/UX😘, very sweet. Feels way superior to GitHub Copilot Workspace.

Adam Knight's profile picture
Adam Knight2 years ago

I setup a nice little workflow hooking up a chat interface (C3.5S) with tools that run through n8n, I used tool use/function calling with Claude. Would you recommend the XML tag parsing over tool use?

Mckay Wrigley's profile picture
Mckay Wrigley2 years ago

I’ve found function calling to be worse tasks that require complex reasoning (like codegen on large codebases). I think it works really great on well-defined, more constrained tasks though.

Jameson Sharp ג’יימס's profile picture
Jameson Sharp ג’יימס2 years ago

LLM’s 💡

Related Videos