Setup An AI Coach With LLM Gateway
This tutorial will demonstrate how to use AssemblyAI’s LLM Gateway framework to receive AI coaching. LLM Gateway provides access to multiple LLM providers through a unified API.
Quickstart
Getting 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.
Find more details on the current LLM Gateway pricing on the AssemblyAI pricing page.
Step-by-Step Instructions
In this guide, we’ll prompt LLM Gateway to perform some AI coaching.
Import the required pagackes and set the base URL and headers.
Use AssemblyAI to transcribe a file and save the transcript.
Define your detailed prompt instructions for generating feedback on the transcript text of your sales call, meeting, or other content. This is an example prompt, which you can modify to suit your specific requirements.
Generate the custom feedback using LLM Gateway.
Finally, save and return the LLM response.