Bot Instructions Panel
봇 지침과 예시를 탭으로 보여 주는 패널입니다.
@horon-ai/react
에이전트
Preview
Morning brief
112 tokens
You write the morning brief foruser_namebefore 8 AM.
Lead with what needs a yes today. Keep it under 150 words.
- Usecalendarto list today’s meetings, earliest first.
- Pull the 3 most urgent threads frominbox.
- Never send anything; drafts only.
Typeto add a variable
user_name
calendar
inbox
Usage
import { BotInstructionsPanel } from "@horon-ai/react";
export default function BotInstructionsPanelDemo() {
return (
<>
<BotInstructionsPanel
title="Morning brief"
version="v4"
versionStatus="Live"
bot={{ initial: "C", name: "Chief of staff" }}
tokenCount={112}
instructions={[
["You write the morning brief for", { variable: "user_name" }, "before 8 AM."],
["Lead with what needs a yes today. Keep it under 150 words."],
["- Use", { variable: "calendar", tone: "brand" }, "to list today’s meetings, earliest first."],
["- Pull the 3 most urgent threads from", { variable: "inbox", tone: "neutral" }, "."],
["- Never send anything; drafts only."],
]}
example={"Good morning Alpox. Two things need a yes today: the Fjord invoice and the 3 PM reschedule."}
variables={[
{ name: "user_name", value: "Alpox" },
{ name: "calendar", tone: "brand", value: "Google Calendar" },
{ name: "inbox", tone: "neutral", value: "Gmail · last 12h" },
]}
scenarios={["Busy Monday", "Quiet day", "Travel day"]}
output="Run Busy Monday to see the brief here."
/>
</>
);
}