Skip to main content
In this guide we will show you how to use AssemblyAI’s LLM Gateway to segment a phone call. LLM Gateway provides access to multiple LLM providers through a unified API.

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 the required packages:
Set up your API client and transcribe the audio file:
Define the phases you want to identify. Here is an example of phases that can be used for customer support calls:
Use LLM Gateway to analyze the transcript and divide it into phases. This is an example prompt, which you can modify to suit your specific requirements.
Example output of the analysis of a transcript divided into phases and formatted as a JSON object: