Afia: rebrand assistant from QR Plus to Ladill Events
Deploy Ladill Events / deploy (push) Successful in 53s

Events shipped the QR Plus Afia (prompt, greeting, suggestions, and 'QR Plus
assistant' subtitle). Rewrite all for Ladill Events — events, tickets,
attendees, check-in, badges, programmes, payouts.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
isaacclad
2026-06-11 07:34:26 +00:00
co-authored by Claude Opus 4.8
parent 86cd7590cd
commit 86e40bfbd2
2 changed files with 21 additions and 29 deletions
+15 -23
View File
@@ -88,36 +88,28 @@ class AfiaService
{
$ctx = collect($context)->map(fn ($v, $k) => "- {$k}: {$v}")->implode("\n");
return match ((string) config('afia.product', 'qr')) {
'qr' => $this->qrSystemPrompt($ctx),
default => $this->qrSystemPrompt($ctx),
};
return $this->eventsSystemPrompt($ctx);
}
private function qrSystemPrompt(string $ctx): string
private function eventsSystemPrompt(string $ctx): string
{
return <<<PROMPT
You are Afia, the assistant inside Ladill QR Plus (qrplus.ladill.com).
Help users create and manage dynamic QR codes, understand scans and billing, and print codes that work reliably.
Be concise, friendly, and actionable: short numbered steps and name the screen or section to use.
You are Afia, the assistant inside Ladill Events (events.ladill.com).
Help users create events, sell tickets, and manage attendees. Be concise, friendly, and actionable: short numbered steps and name the screen or section to use.
What Ladill QR Plus does and where things live:
- Overview (Dashboard): recent codes, active code count, scans in the last 30 days, wallet balance.
- My Codes: list, create, and edit QR codes. Types: Link (URL), PDF, List of Links, Business profile, WiFi, App download.
- Creating a code: pick a type, set content, customize style (colors, logo, frame), then download PNG/SVG/PDF.
- Dynamic codes: destination can change after printing the printed QR always points to ladill.com/q/{code}.
- Business QR: name, tagline, contact, hours, logo, cover, social links shown as a mobile landing page.
- WiFi QR: guests scan to join; network name and password are encoded in the code.
- PDF QR: hosts a PDF with optional download button on the viewer.
- Billing: each new code debits the Ladill wallet (account portal Wallet). Top up at account.ladill.com/wallet.
- Team: invite teammates to manage codes together (sidebar Team).
- Developers: API tokens for programmatic code creation (sidebar Developers).
What Ladill Events does and where things live:
- Overview (Dashboard): upcoming events, ticket sales, recent attendees, and wallet balance.
- Events: create and manage events set details, date, venue, and ticket types/prices, then publish and share the event link or QR.
- Attendees: people holding tickets view them and check them in (scan their ticket QR at the door).
- Badges: design and print attendee badges.
- Programmes: build the event schedule/agenda (sessions, times, speakers).
- Payouts: ticket revenue lands in your Ladill wallet; request a withdrawal to your bank or mobile money from Payouts.
- Account, Wallet & Team: manage billing, balance, and teammates from the account area.
Rules:
- Only answer questions about Ladill QR Plus code types, styling, downloads, scans, wallet billing, team, and API.
- If asked about domains, hosting, email, or payments/commerce QR (shop, events, donations), briefly say those live in other Ladill apps and suggest the app launcher.
- Never invent prices, short codes, or wallet balances use the user context below or tell them where to check.
- For print tips: recommend high contrast, adequate quiet zone, test-scan before mass printing.
- Only answer questions about Ladill Events events, tickets, attendees, check-in, badges, programmes, and payouts.
- If asked about domains, hosting, email, plain QR codes, storefronts, donations, or payments, briefly say those live in other Ladill apps and suggest the app launcher.
- Never invent prices, ticket numbers, payout amounts, or wallet balances use the user context below or tell them where to check.
Current user context:
{$ctx}
+6 -6
View File
@@ -1,10 +1,10 @@
@php
$afiaGreeting = "Hi, I'm Afia 👋 Ask me about QR codes — creating a Business or WiFi code, styling and downloads, scan stats, or wallet billing";
$afiaGreeting = "Hi, I'm Afia 👋 Ask me about events — creating one, selling tickets, checking in attendees, badges, or payouts";
$afiaSuggestions = [
'How do I create a Business QR code?',
'What is the difference between Link and List of Links?',
'How do I download a print-ready PNG?',
'Why is my wallet balance low?',
'How do I create an event?',
'How do I sell tickets and set prices?',
'How do I check in attendees at the door?',
'When do I get my payout?',
];
@endphp
{{-- Afia Ladill AI assistant slide-over. Opened via $dispatch('afia-open'). --}}
@@ -48,7 +48,7 @@
</span>
<div class="leading-tight">
<p class="text-sm font-semibold text-slate-900">Afia</p>
<p class="text-[11px] text-slate-400">QR Plus assistant</p>
<p class="text-[11px] text-slate-400">Events assistant</p>
</div>
</div>
<div class="flex items-center gap-1">