Step 1 of 4 · Declare your options

Learn / Read in the docs

Turn a sentence into filters

Edit and run the code of each step in your browser. The first start installs the app, which takes a few minutes.

Build a filter box. A person types "nord parts except vak supply". Your page shows one chip to include and one chip to exclude.

You write the options and the route. ViteHub asks the model and checks the answer. You apply the selection to your own state.

This tutorial uses a small offline gateway. It needs no API key and no network. The last step swaps it for a real model.

You need Node.js 22.22 or newer, pnpm, and the app from the Vite with Nitro path in Installation. Decisions ships in vite-hub, so there is no extra ViteHub package to add. This app has a Vue page, so install Vue and its Vite plugin:

commands/install-vue
pnpm add vue
pnpm add -D @vitejs/plugin-vue

Starting the workspace