Intent Classifier

Intent ranking panel with the raw user input quoted above and a list of candidate labels with confidence bars.

"where is my order?"

order_status
87%
shipping_eta
9%
refund_request
4%

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
import { Ai41 } from "@/components/beste/piece/ai41";

<Ai41
  input="where is my order?"
  intents={[
    {
      "label": "order_status",
      "score": 0.87
    },
    {
      "label": "shipping_eta",
      "score": 0.09
    },
    {
      "label": "refund_request",
      "score": 0.04
    }
  ]}
/>