examples/react/evaluate
| Name | Last commit message | Last commit date |
|---|---|---|
| .. | ||
README.md
Evaluate#
Paste a support ticket. Jev answers three typed questions: which queue, how urgent, and whether the customer asks for a refund.
Run it#
- From the repo root, run
pnpm install. - Copy
.env.exampleto.envand add a key for the provider you pick. - Run
pnpm --filter evaluate dev. - Open http://localhost:3100.
- Pick a provider. Click Submit.
API keys stay on the server.
The UI is src/routes/index.tsx. The decide() call is src/lib/server-functions.ts.