Feature Flag
A switch in the configuration that enables or disables a feature on the fly, without releasing a new version.
Why
- To enable a feature only for a portion of users;
- To instantly roll back a problematic feature;
- To separate code deployment from feature release.
In AI Projects
Feature flags allow switching between providers LLM, enabling a new model for a small portion of traffic and comparing behavior without risk to all users.