From 726903eef307317598c42ce19ba1f2a1fb3ed073 Mon Sep 17 00:00:00 2001 From: Alvin Bryan <107407814+alvinometric@users.noreply.github.com> Date: Thu, 17 Oct 2024 09:39:57 +0100 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Nuno Góis Co-authored-by: Melinda Fekete --- website/docs/feature-flag-tutorials/use-cases/ai.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/website/docs/feature-flag-tutorials/use-cases/ai.md b/website/docs/feature-flag-tutorials/use-cases/ai.md index 621735e3aa..5623d09eef 100644 --- a/website/docs/feature-flag-tutorials/use-cases/ai.md +++ b/website/docs/feature-flag-tutorials/use-cases/ai.md @@ -39,7 +39,7 @@ You should now see a chatbot UI, like this: ![chatbot UI](./sveltekit-chatbot.png) -This is a simple Sveltekit app with a chatbot interface. If you’re not familiar with SvelteKit, it works similarly to frameworks like Next.js, Nuxt, or SolidStart, where your file structure defines the routing. +This is a simple SvelteKit app with a chatbot interface. If you’re not familiar with SvelteKit, it works similarly to frameworks like Next.js, Nuxt, or SolidStart, where your file structure defines the routing. The most important file for this tutorial is the `src/routes/api/chat/+server.js` file. @@ -131,13 +131,11 @@ Username: admin Password: unleash4all ``` -Click **New feature flag** to create a new feature flag. +Click **New feature flag** to create a new feature flag, called `gpt-version`. -![Create a new feature flag](../ruby/new-ff.png) -Create a new feature flag called `gpt-version`. -After that, and this the most important part, we need to add a variant to our feature flag. +After that, and this is the most important part, we need to add a variant to our feature flag. What we'll do is hold all the model configurations in the feature flag variants.