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:
parent
41aada0a4a
commit
08dc207cb6
@ -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, 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.
|
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.
|
Now let's go back to the code and grab our AI config from the feature flag that we just created.
|
||||||
|
|
||||||
|
@ -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',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user