I just wrapped up my latest project: an Intelligent Log Classifier. The core challenge wasn't jus...I just wrapped up my latest project: an Intelligent Log Classifier. The core challenge wasn't jus...
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
I just wrapped up my latest project: an Intelligent Log Classifier. The core challenge wasn't just "making it work"—it was making it scalable and cost-effective. In many AI applications, developers default to using Large Language Models (LLMs) for everything. This is expensive and slow. Instead, I built a Cascade Architecture that uses the "cheapest" brain power first: 🚀 Phase 1: Regex (The Specialist) Standard, recurring log patterns are caught instantly using Regex. Cost: $0.00. 🧠 Phase 2: BERT (The Generalist) If the log is unique but we have enough training data, our local BERT model takes over. It understands the "vibe" of the log without needing a cloud API. ✨ Phase 3: Google Gemini (The Expert) Only when the data sample is too small for BERT to be confident does the system call the LLM. It acts as a safety net for rare edge cases. Cost: Managed & minimal. Why this matters: By building this "logic gate," I reduced API dependency by nearly 90%, ensuring the system is high-speed while keeping the cloud bill near zero. Tech Stack: FastAPI | React | BERT | Google Gemini | Hugging Face | Python
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started