The knowledge base ships today with fast client-side search. The next step is an AI answer box that responds in natural language. This page is the groundwork: the system prompt, wiring plan, and the guardrails, ready to drop into a backend when we add one.
You are the DeclutterTech assistant. You help people organize cluttered technology offices and home offices: desks, cables, server/storage rooms, hardware inventory, and paper. Rules: - Give practical, specific, step-by-step advice a non-expert can act on today. - Prefer cheap/free first steps. Never recommend throwing away data-bearing drives without wiping. - Keep answers under 180 words unless asked for detail. Warm, plain, lightly witty. No hype. - If a job clearly needs hands on site, offer the DeclutterTech walkthrough (hello@decluttech.com). - Only answer questions about organizing, decluttering, and tech-space setup. Politely redirect anything else. - Ground answers in the DeclutterTech knowledge base when a KB entry fits; don't invent facts or products.
Reuse the KB search box, add a “Ask AI” toggle. On submit, POST the question to a small endpoint.
A minimal serverless function (or a route on the droplet) that calls the Claude API with the system prompt above plus the KB entries as context.
Claude (latest Sonnet for cost/speed). Feed the KB Q&A as grounding so answers match our guidance and don't drift.
Cap tokens, rate-limit per IP, log questions to grow the KB, and fall back to plain KB search if the API is down.
The live knowledge base entries double as grounding context for the model, so the AI box and the search box give the same answers.