Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Build a Sick AI-Voice Memo App with Next.js and OpenAI Whisper - Background Jobs, Cron Job, and Inngest

ByteGrad via YouTube

Overview

Coursera Spring Sale
40% Off Coursera Plus Annual!
Grab it
Learn to build a sophisticated AI-powered voice memo application using Next.js, OpenAI Whisper, and Inngest for background job processing in this comprehensive 35-minute tutorial. Start by setting up a new Next.js application and implementing the user interface with proper markup and styling. Master audio recording functionality using the navigator.mediaDevices API to capture voice memos directly in the browser. Implement server-side audio upload handling and integrate a database using Prisma for data persistence. Explore advanced background job processing, queuing systems, and cron job implementation specifically designed for AI workflows. Dive deep into Inngest, a powerful tool for managing complex background processes, and learn to create a processAudio function that handles the core AI processing logic. Integrate OpenAI Whisper for accurate audio transcription and discover how to split workflows into manageable step functions using Inngest's architecture. Extract meaningful data from transcribed text using OpenAI's language models with step.ai.wrap() functionality. Implement polling mechanisms for real-time updates and build responsive UI components that provide seamless user experience. Understand advanced concepts including rate limiting, priority handling, throttling mechanisms, event-driven workflows, and strategic use of step.sleep() for optimized processing. The tutorial includes practical demonstrations, code implementation, and covers essential production considerations for deploying AI-powered applications with robust background processing capabilities.

Syllabus

00:00 Intro
00:43 Demo
02:31 Create new Next.js app
02:57 Markup & styling
05:21 Audio recording navigator.mediaDevices
06:34 Upload audio to server-side
09:03 Add database + Prisma
12:19 Background jobs / queue / cron job for this AI-workflow
13:37 Inngest
17:21 processAudio function
20:47 Transcribe with OpenAI Whisper
21:57 Split up workflow in Inngest step functions
24:35 Extract data from text with OpenAI and step.ai.wrap
26:40 Polling
28:55 UI
29:27 Demo
31:22 Rate limiting / Priority / Throttling
32:19 Event-driven workflow
32:35 Cron job
33:23 step.sleep
35:02 Outro

Taught by

ByteGrad

Reviews

Start your review of Build a Sick AI-Voice Memo App with Next.js and OpenAI Whisper - Background Jobs, Cron Job, and Inngest

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.