diff --git a/app/Services/Afia/AfiaService.php b/app/Services/Afia/AfiaService.php index 906e5c7..8577374 100644 --- a/app/Services/Afia/AfiaService.php +++ b/app/Services/Afia/AfiaService.php @@ -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->merchantSystemPrompt($ctx); } - private function qrSystemPrompt(string $ctx): string + private function merchantSystemPrompt(string $ctx): string { return <<

Afia

-

Give assistant

+

Merchant assistant