Generate Action Items with LLM Gateway
This tutorial will demonstrate how to use AssemblyAI’s LLM Gateway framework to create action items from a transcript. 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 create actions items based on a transcript.
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 action items based on the transcript. This is an example prompt, which you can modify to suit your specific requirements.
Generate the custom action items using LLM Gateway.
Finally, save and return the LLM response.