Skip to main content
In this guide we will show you how to label content with custom topic tags using AssemblyAI’s LLM Gateway.

Quickstart

Get Started

Before we begin, make sure you have an AssemblyAI account and an API key. You can sign up for an AssemblyAI account and get your API key from your dashboard.

Step-by-Step Instructions

Install dependencies

Install the required packages:
Set up your API client and transcribe the audio file:
Create a tag_list of custom topics, which consists of a key that is the topic and a value that is a short description of what qualifies a file to be labeled with that topic.Here is an example of a tag_list that can be used for videos or podcasts:
Here is another example of a tag_list that can be used for support calls:
Use LLM Gateway to analyze the transcript and select the most relevant topic tag. This is an example prompt, which you can modify to suit your specific requirements.