January 2025 Summaries
3 posts from LaunchDarkly
Filter
Month:
Year:
Post Summaries
Back to Blog
If you are running an AI app in production, you want to give your users the latest and greatest features, while doing everything possible to ensure their experience is smooth and bug free. Decoupling deployments from AI configuration changes is one approach to reduce risk. LaunchDarkly’s new AI configs (now in Early Access) can help! With AI configs, you can change your model or prompt at runtime, without needing to deploy any new code. Decoupling configuration changes from deployment grants developers a ton of flexibility to roll out changes quickly and smoothly. An OpenAI API key is required for this tutorial, as well as a free LaunchDarkly account with AI configs enabled. The ExpressJS application generates letters of reference using the OpenAI model, which can be upgraded to a newer model using LaunchDarkly's AI SDK. The new model is deployed progressively to 25% of users, then 50%, and finally all users, while tracking metrics such as input tokens, output tokens, and satisfaction rate. Advanced targeting options are also available, allowing for more precise control over which users see which variation of the model. This tutorial provides a step-by-step guide on how to use LaunchDarkly AI configs to manage runtime configuration for an ExpressJS app.
Jan 31, 2025
1,672 words in the original blog post.
This is a tutorial on building an email personalization system using Supabase, LaunchDarkly, and SendGrid. The tutorial guides users through setting up their database with Supabase, connecting to the database using Python, creating feature flags in LaunchDarkly, evaluating these flags dynamically, and sending personalized emails with SendGrid based on user data stored in the database. By following this guide, users can create a dynamic email personalization system that targets users without touching their code.
Jan 22, 2025
3,047 words in the original blog post.
If you are running an AI app in production, you want to give your users the latest and greatest features, while doing everything possible to ensure their experience is smooth and bug free. Decoupling deployments from AI configuration changes is one approach to reduce risk.` LaunchDarkly's new AI configs can help achieve this by allowing you to change your model or prompt at runtime without needing to deploy any new code, thereby granting developers a ton of flexibility to roll out changes quickly and smoothly. The tutorial covers how to use AI configs to upgrade the OpenAI model version in a Python FastAPI application, including setting up a developer environment, creating an AI config, and progressively upgrading to a newer model while minimizing risks to users. Additionally, it highlights potential future upgrades such as tracking output satisfaction rate, prompt improvements, and advanced targeting.
Jan 15, 2025
1,599 words in the original blog post.