examples/react/evaluate
| Name | Last commit message | Last commit date |
|---|---|---|
| .. | ||
README.md
Evaluate#
Paste a support ticket. The app shows three typed answers: queue, urgency, and refund.
Run it#
- From the repo root, run
pnpm install. - Copy
.env.exampleto.env. Add a key only for a hosted provider. - For Ollaya, run
ollaya serveandollaya pull laya:latest. No key. - Run
pnpm --filter evaluate dev. - Open http://localhost:3100. Pick a provider. Click Submit.
API keys for hosted providers stay on the server.
The UI is src/routes/index.tsx. The decide() call is src/lib/server-functions.ts.