Custom Topic Tags
In this guide we will show you how to label content with custom topic tags using AssemblyAI’s LLM, LeMUR.
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. You will need to upgrade your account by adding a credit card to have access to LeMUR.
Find more details on the current LeMUR pricing in the AssemblyAI pricing page.
Step-by-Step Instructions
Install the SDK:
Import the SDK and set your AssemblyAI API key.
Use AssemblyAI to transcribe a file and save the transcript.
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:
Prompt LeMUR using the Task Endpoint and return the response. This is an example prompt, which you can modify to suit your specific requirements. See our documentation for more information about prompt engineering.