diff --git a/website/docs/feature-flag-tutorials/use-cases/ai.md b/website/docs/feature-flag-tutorials/use-cases/ai.md index 4ea7907385c0..e619826b5452 100644 --- a/website/docs/feature-flag-tutorials/use-cases/ai.md +++ b/website/docs/feature-flag-tutorials/use-cases/ai.md @@ -110,7 +110,7 @@ To implement this, we'll need to: 2. Replace our static `variants` selection with feature flag calls. 3. Use the feature flag in our code to determine which AI model and settings to use for each request. -## 2. Install a local feature flag provider +### Install a local feature flag provider In this section, we’ll install Unleash, run the instance locally, log in, and create a feature flag. If you prefer, you can use other tools instead of Unleash, but you’ll need to update the code accordingly. The basic steps will probably be the same. @@ -135,7 +135,7 @@ Click the ‘New feature flag’ button to create a new feature flag. -### Adding AI feature flags +## Querying AI feature flags Now let's go back to the code and grab our AI config from the feature flag that we just created. diff --git a/website/sidebars.js b/website/sidebars.js index c56c65608a5a..b8e957e42a80 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -112,6 +112,11 @@ module.exports = { label: 'Gradual Rollout', id: 'feature-flag-tutorials/use-cases/gradual-rollout', }, + { + type: 'doc', + label: 'Feature flags for AI', + id: 'feature-flag-tutorials/use-cases/ai', + }, ], }, {