Intent Classifier

"where is my order?"

order_status
87%
shipping_eta
9%
refund_request
4%
About this piece

Intent Classifier

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

Usage

The import and the props worth knowing about, in one place.

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
    }
  ]}
/>

More AI pieces

View all AI
next_tokentop 5
The capital of France is
  • Paris64.3%
  • the18.7%
  • located8.1%
  • also4.2%
  • a2.1%

Top-K Tokens

Debugger-style panel showing the language model's next-token probabilities, with the top candidate highlighted and bars scaled to softmax weight.

Suggestion Pills

Wrapping row of pill suggestions that seed the prompt input with common intents.

Weekly summary
  • Onboarding ships to GA on Tuesday
  • Pricing experiment lifts conversion by 14%
  • Two critical bugs filed, one already patched
Synthesized from 3 documents

AI Summary

Summary card with a violet sparkle header, bullet list of key points, and a source attribution below.

Model Selector

Gradient sparkle tile inside a pill showing the model name, a speed caption, and a dropdown arrow.

Thought for 8 seconds

User wants to rate limit 100 req/min per key.

Leaky bucket gives smoother traffic than fixed window.

Redis INCR with TTL is the simplest implementation.

Chain of Thought

Collapsible reasoning panel with a brain icon header and italic thought bullets on a left border rail.

Feedback Row

Thumbs up and down buttons with tinted active state, alongside copy and share actions.