1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-13 11:17:26 +02:00

Updating the nav

This commit is contained in:
Alvin Bryan 2024-09-27 17:58:18 +01:00
parent 41aada0a4a
commit 08dc207cb6
No known key found for this signature in database
2 changed files with 7 additions and 2 deletions

View File

@ -110,7 +110,7 @@ To implement this, we'll need to:
2. Replace our static `variants` selection with feature flag calls. 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. 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, well 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 youll need to update the code accordingly. The basic steps will probably be the same. In this section, well 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 youll 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.
<!-- ![Create a new feature flag](./new-ff.png) --> <!-- ![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. Now let's go back to the code and grab our AI config from the feature flag that we just created.

View File

@ -112,6 +112,11 @@ module.exports = {
label: 'Gradual Rollout', label: 'Gradual Rollout',
id: 'feature-flag-tutorials/use-cases/gradual-rollout', id: 'feature-flag-tutorials/use-cases/gradual-rollout',
}, },
{
type: 'doc',
label: 'Feature flags for AI',
id: 'feature-flag-tutorials/use-cases/ai',
},
], ],
}, },
{ {