add LLM-based enterprise lead scoring and auto-replies

Extract delivery logic from the enterprise route into a dedicated
module that grades inquiries via the Zen responses API, falls back
to simple regex scoring on failure, and sends templated auto-replies
for generic and procurement-blocked leads.

Made-with: Cursor
This commit is contained in:
Ryan Vogel
2026-03-19 17:38:16 -04:00
parent a6f23cb08e
commit bc3fe8f4f5
5 changed files with 380 additions and 52 deletions

View File

@@ -11,6 +11,7 @@
"start": "vite start"
},
"dependencies": {
"@ai-sdk/openai": "2.0.89",
"@cloudflare/vite-plugin": "1.15.2",
"@ibm/plex": "6.4.1",
"@jsx-email/render": "1.1.1",
@@ -26,6 +27,7 @@
"@solidjs/router": "catalog:",
"@solidjs/start": "catalog:",
"@stripe/stripe-js": "8.6.1",
"ai": "catalog:",
"chart.js": "4.5.1",
"nitro": "3.0.1-alpha.1",
"solid-js": "catalog:",