Build An Audio AI App Transcripts
Chapter: Feature 2: Search
Lecture: Survey of New Code Items

Login or purchase this course to watch this video and the rest of the course contents.
0:00 I've added a few things again. We're into a new project up here, the 02 feature search. And down here, the second feature search,
0:11 that virtual environment is active again. So we get a nice, fresh, separated copy for this project. Now I've added a couple of things.
0:20 So I've added a search views here, and it just has a basically show us a search page. We'll enhance this as we go.
0:30 Also, here we have this little bit of HTML. And the most important part is this input box. Doesn't do anything magic yet.
0:39 See down here, search results go here. Also nothing magical yet, but they will be pretty soon, they will be. We have a search view model
0:48 that uses this thing called the search service, which is gonna actually be the search engine. I'll show you that in just a minute.
0:55 It's a custom search engine that I wrote that you can very carefully control how everything works. And it's going to just run in that same background,
1:05 async I/O set of tasks that we did for transcribing, for synchronizing the podcasts, all those things.
1:13 And search services here, we'll talk about that in a minute. And of course, we needed to register it as well. So if we fire up the app, find the link,
1:25 we now can click on this search thing, and it says search deep within the podcast. We use Assembly AI to generate transcripts,
1:32 summaries, not yet, but we will. And surface all that information through a lightning quick search. Go ahead and see what you can find.
1:39 Well, nothing, nothing yet, but it's going to. It's going to load that up and do really cool things once we get the search plugged in.
1:48 At the end of this chapter, that statement will be true. So this is where we're starting, and we're gonna dive in and write some code in just a second.


Talk Python's Mastodon Michael Kennedy's Mastodon