Save this video free

1786 lecture4 Sep29

Jonathan Rose · 1:42:51 · Watch on YouTube

Part of University of Toronto ECE 1786. See all 11 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Jonathan Rose connects LLM fundamentals to practical agent engineering: prompts select contextual knowledge alongside trained parameters, while retrieval-augmented generation, context-engineering harnesses, tools, and reasoning help models perform structured work. He applies those ideas to a behavior-change therapy example and lays out a project workflow requiring a distinctive problem, clear success measures, human validation, and documented software development.

Key takeaways

Chapters

0:00 ECE 1786 Assignment 2 and the Project-Oriented Course
5:00 OpenAI APIs, Token Costs, and Assignment 2 Preparation
8:00 Prompt Engineering Through a Smoking-Cessation Example
11:00 Iterating Prompts and Testing Beyond One Example
16:00 Prompts, Tokens, Embeddings, and Trained Parameters
19:00 Contextual Knowledge Versus Parametric Knowledge
24:00 When Model Knowledge Conflicts with the Prompt
31:00 Putting Whole Documents into an LLM Context
34:00 Retrieval-Augmented Generation: Embeddings and Chunk Selection
40:00 Context Engineering for Structured Therapy
47:00 Harnesses: Software That Shapes LLM Context
52:00 Tool Calling Connects LLMs to Regular Software
59:00 Combining LLMs with Algorithms and Conventional Code
1:03:00 Tool Permissions and Local-Model Security Risks
1:05:00 Chain-of-Thought Prompting and Step-by-Step Reasoning
1:13:00 LM Studio and Running Models on Personal Computers
1:20:00 Why the Project Is Central to Engineering Education
1:24:00 Define the Project’s What and Why Before Its How
1:28:00 Project Scope, Agent Decomposition, and Evaluation
1:35:00 Project Approval, GitHub Workflow, and Presentation Milestones

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:04 Good morning everyone and welcome to ECE 1786 lecture number four. The work you have in flight. I released last Thursday uh assignment two. Took me a little while to evolve that assignment. As you know, I've kind of reorganized the course this year so that we jump into things connected to the project sooner. And so last lecture and this lecture are new in a whole pile of ways. Bear with me. Um a key thing about the project is almost everyone has a partner. I think I count six unpartnered people. Some of them are because they were late entrance into the course. I'm going to ask those six if you're here to show up and go there at the break and con uh convene. I've also sent five of you uh the

0:54 information from the other five that I asked for for unpartnered people so you could kind of I don't know connect with that information you know your work work habits interests and things like that um last day so I launched in this new direction of the course early I started talking about large language models as engines of work and how did I get there well we were before that we were talking about how do you create embeddings. And I hope you saw the magic of how I went from assignment one part three that said this little thing here that creates embeddings. Well, if you just stretch it a little bit, it becomes a large language model and has it just has more input and more output and uh once you know that and what the auto reggressive loop is that is that the each output

1:42 becomes an input and you keep getting the next output and you kind of know what an large language model is. enough

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Jonathan Rose.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.