1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-19 17:52:45 +02:00

Apply suggestions from code review

Co-authored-by: Nuno Góis <github@nunogois.com>
Co-authored-by: Melinda Fekete <melinda.fekete@getunleash.io>
This commit is contained in:
Alvin Bryan 2024-10-17 09:39:57 +01:00 committed by GitHub
parent b268880d00
commit 726903eef3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,7 +39,7 @@ You should now see a chatbot UI, like this:
![chatbot UI](./sveltekit-chatbot.png) ![chatbot UI](./sveltekit-chatbot.png)
This is a simple Sveltekit app with a chatbot interface. If youre 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 youre 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. The most important file for this tutorial is the `src/routes/api/chat/+server.js` file.
@ -131,13 +131,11 @@ Username: admin
Password: unleash4all 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. What we'll do is hold all the model configurations in the feature flag variants.