Segment A Phone Call using LeMUR
In this guide we will show you how to use AssemblyAI’s LLM, LeMUR, to segment a phone call.
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.
Define the phases you want to identify.
Here is an example of phases
that can be used for customer support calls:
Prompt LeMUR using the Task Endpoint, analyze the transcript to divide it into phases, 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.
Example output of the analysis of a transcript divided into phases and formatted as a JSON object: