Prompt Template

Monospace prompt card with inline handlebars-style variables highlighted in violet against plain body text.

support-reply.prompt
You are a helpful assistant. The user asked: {{question}}. Answer in {{tone}} tone.

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

Import & use
import { Ai25 } from "@/components/beste/piece/ai25";

<Ai25
  name="support-reply"
  segments={[
    {
      "type": "text",
      "value": "You are a helpful assistant. The user asked: "
    },
    {
      "type": "var",
      "value": "question"
    },
    {
      "type": "text",
      "value": ". Answer in "
    },
    {
      "type": "var",
      "value": "tone"
    },
    {
      "type": "text",
      "value": " tone."
    }
  ]}
  tone="violet"
/>