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
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.

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.

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.

Parse user intent
Search knowledge base
Draft response
Format citations

Agent Steps

Vertical agent plan with done, active, and pending states indicated by check, spinner, and dot icons.