Home / Companies / LaunchDarkly / Blog / Post Details
Content Deep Dive

How to Switch AssemblyAI Speech-to-Text Model Tiers by User Email With LaunchDarkly Feature Flags

Blog post from LaunchDarkly

Post Details
Company
Date Published
Author
Matt Makai
Word Count
1,878
Language
English
Hacker News Points
-
Summary

LaunchDarkly is a tool that makes it easier for developers to switch between different AI models based on application contexts such as user email domain, device, zip code, region, or custom context. In this tutorial, we built an example demonstrating how to use LaunchDarkly with Python and Flask to switch between AssemblyAI model tiers based on a user's context. The tutorial covered setting up the environment, coding a Flask app to serve transcriptions via an API, and adding feature flags to swap between model tiers.