Skip to content

Commit

Permalink
Updating the nav
Browse files Browse the repository at this point in the history
  • Loading branch information
alvinometric committed Sep 27, 2024
1 parent 41aada0 commit 08dc207
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/feature-flag-tutorials/use-cases/ai.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -135,7 +135,7 @@ Click the ‘New feature flag’ button to create a new feature flag.
<!-- ![Create a new feature flag](./new-ff.png) -->
### 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.
Expand Down
5 changes: 5 additions & 0 deletions website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
],
},
{
Expand Down

0 comments on commit 08dc207

Please sign in to comment.