Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

index.tsx

28 lines906 Bytes

1import { createFileRoute } from '@tanstack/react-router'
2import EvaluatePanel from '@/components/EvaluatePanel'
3​
4function EvaluatePage() {
5 return (
6 <div className="min-h-screen bg-gray-900 p-6">
7 <div className="mx-auto max-w-3xl">
8 <header className="mb-8">
9 <h1 className="mb-2 text-3xl font-bold text-white">
10 Support ticket evaluator
11 </h1>
12 <p className="max-w-2xl text-gray-400">
13 Paste a support ticket. Jev answers three typed questions: which
14 queue, how urgent, and whether the customer asks for a refund. The
15 same <code className="font-mono text-gray-300">decide()</code> call
16 runs for every provider. Only the adapter changes.
17 </p>
18 </header>
19​
20 <EvaluatePanel />
21 </div>
22 </div>
23 )
25​
26export const Route = createFileRoute('/')({
27 component: EvaluatePage,
28})