Tutorials

Browse guided tutorials on NLP, Machine Learning, AI, Deep Learning, coding, and related topics.

JavaScript code to transcribe audio using the AssemblyAI JS SDK with formatting
Node.js Speech-to-Text with Punctuation, Casing, and Formatting

Learn how to transcribe audio and video files into text that contains punctuation, casing, and formatting using the AssemblyAI JavaScript SDK.

Filter profanity in Node.js
Filter profanity from audio files using Node.js

Learn how to filter profanity from audio files using Node.js and the AssemblyAI API.

Content moderation on audio files with Python
Content moderation on audio files with Python

Modern AI models make it easy to automatically detect the presence of sensitive topics in speech data. Learn how to perform configurable content moderation with Python in this tutorial.

Filter profanity from audio files using Python
Filter profanity from audio files using Python

Learn how to filter profanity out of audio and video files with fewer than 10 lines of code in this tutorial

Redact PII in Audio with Make and AssemblyAI
Redact PII in Audio with Make and AssemblyAI

Create a Make scenario using the AssemblyAI app that watches a Google Drive folder for new audio files, and then creates both a transcript and an audio file in which PII is redacted.

Speech-to-Text in Java using Universal-1
Transcribe audio with Java using Universal-1

Learn how to transcribe audio and video files in your Java applications with AssemblyAI's Universal-1 speech recognition model.

Introducing the AssemblyAI integration for LangChain Go
Introducing the AssemblyAI integration for LangChain Go

Learn how to use audio transcripts in LangChain Go using the AssemblyAI document loader.

Transcribe an audio file with Universal-1 in Node.js
Transcribe an audio file with Universal-1 in Node.js

Learn how to transcribe an audio file in your Node.js applications with industry-leading accuracy using Universal-1.

Transcribe an audio file with Universal-1 using Go
Transcribe an audio file with Universal-1 using Go

Learn how to transcribe an audio file in your Go applications with industry-leading accuracy using Universal-1.

Automatically redact PII from audio and video with Python
Automatically redact PII from audio and video with Python

In this tutorial, we’ll learn how to automatically redact Personal Identifiable Information (PII) from audio and video files in 5 minutes using Python and AssemblyAI.

Detect scam calls using Go with LeMUR and Twilio
Detect scam calls using Go with LeMUR and Twilio

Learn how to detect scam attempts in phone calls, using LeMUR.

Transcribe a phone call in real-time using Python with AssemblyAI and Twilio
Transcribe a phone call in real-time using Python with AssemblyAI and Twilio

Learn how to transcribe a phone call in real-time using Python, AssemblyAI, ngrok, and Twilio

Transcribe phone calls in real-time in Go with Twilio and AssemblyAI
Transcribe phone calls in real-time in Go with Twilio and AssemblyAI

Learn how to transcribe a Twilio phone call in real-time using Go in this tutorial.

How to do Speech-To-Text with Go
How to do Speech-To-Text with Go

This article shows how Speech Recognition can be integrated into your Go application in only a few lines of code.

Console output of the .NET Rocks! Q&A application
Ask .NET Rocks! questions with Semantic Kernel, GPT, and Chroma DB

Develop an application that answers questions about .NET Rocks! using Semantic Kernel, GPT models, Chroma DB, and AssemblyAI transcriptions.

How to Create VTT Files for Videos in Python
How to Create VTT Files for Videos in Python

Learn how to create VTT subtitle files for videos using Python in this easy-to-follow guide.

How to Create SRT Files for Videos in Python
How to Create SRT Files for Videos in Python

Learn how to create SRT subtitle files for videos using Python in this easy-to-follow guide.

JavaScript sample for transcribing an audio file using LlamaIndex.TS
How to integrate spoken audio into LlamaIndex.TS using AssemblyAI

Learn how to apply LLMs to speech with AssemblyAI's new integration for LlamaIndex.TS, using TypeScript and Node.js.

Extract phone call insights with LLMs in Python
Extract phone call insights with LLMs in Python

Learn how to automatically extract insights from customer calls with Large Language Models (LLMs) and Python.

How to Get YouTube Video Transcripts
How to Get YouTube Video Transcripts

Learn how to get the transcript of a YouTube video with this easy-to-follow Python tutorial. We'll use yt-dlp to download YouTube videos, and automatically transcribe them with AssemblyAI.

Automatically determine video sections with AI using Python
Automatically determine video sections with AI using Python

In this tutorial, we will learn how to automatically determine video sections, how to generate section titles with LLMs, and how to format the information for YouTube chapters.

Key phrase detection in audio files using Python
Key phrase detection in audio files using Python

Learn how to identify key phrases and important words using Python and AssemblyAI.

Cloudflare logo
Transcribe audio to text on Cloudflare Workers with AssemblyAI and TypeScript

In this tutorial, you'll learn how to create an application that transcribes the audio files (and video files) to text. You'll create a TypeScript backend on top of Cloudflare Workers and use the AssemblyAI APIs to transcribe the audio.

How to use audio data in LlamaIndex with Python
How to use audio data in LlamaIndex with Python

Learn how to incorporate audio files into LlamaIndex and build an LLM-powered query engine in this step-by-step tutorial.

Real-time transcription in Python
Real-time transcription in Python

Learn how to perform real-time transcription on audio streams using Python in this tutorial.