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
Python
JavaScript
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.
Install the required packages:
Python
Import the required packages and set the base URL and headers.
Python
JavaScript
Use AssemblyAI to transcribe a file and save the transcript.
Python
JavaScript
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.
Python
JavaScript
Generate the custom feedback using LLM Gateway.
Python
JavaScript
Finally, save and return the LLM response.