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%

New here? Read the installation guide.

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

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.

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.

Suggestion Pills

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

Feedback Row

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

Harassmenthigh

Response blocked for containing targeted insults.

Safety Filter

Moderation card with a rose shield icon, category label, severity pill, and the reason the output was blocked.