Remove count from AI search prompt, add query prioritization

- count no longer part of prompt or JSON output — fixed at 50 in backend
- Added prioritization rules: most common term wins (Dachdecker > Spengler)
- Cleaner examples without count field

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Timo Uttenweiler
2026-04-08 14:07:11 +02:00
parent edbf8cb1e2
commit e5172cbdc5
2 changed files with 27 additions and 19 deletions

View File

@@ -173,7 +173,6 @@ export function AiSearchModal({ onStart, onClose }: AiSearchModalProps) {
)}
</div>
<div style={{ display: "flex", alignItems: "center", gap: 8 }}>
<span style={{ fontSize: 11, color: "#4b5563" }}>{q.count} Leads</span>
<div style={{
width: 16, height: 16, borderRadius: 4,
border: selected.has(i) ? "none" : "1px solid #2e2e3e",