Zero-Cost AWS Lambda FAQ Bot: Replacing Vector Search with Text Retrieval
Al_Grigor · x · 2026-08-20
The author built a nearly zero-cost FAQ assistant for Zoomcamps (serving 100k+ students) running on AWS Lambda.
Workflow:
- Data Curation: Automates processing of GitHub Issues (classified by LLM as NEW/UPDATE/DUPLICATE/WRONGCOURSE), Slack threads, and YouTube transcripts into structured FAQ records. AI assists in batch-reviewing PRs.
- Retrieval System: Replaced vector search with text search using the zerosearch library. The entire index is only 8 MB, deployed directly with the Lambda function, eliminating external vector database dependencies.
- Deployment & Eval: Uses a CI/CD pipeline to automatically rebuild and redeploy the index when FAQ data changes.
This approach leverages serverless architecture and lightweight text retrieval to significantly reduce operational costs and complexity.
More from coding & agent
- Testing 8 AI coding tools in a week: A turbulent time for devs — aidenybai · 2026-08-20
- Qwen-Code v0.21.11 Nightly: Session Watermarks and Review Enhancements — qwen-code-ci-bot · 2026-08-20
- Why Credential Management is Unsuitable for Agents — willccbb · 2026-08-20
- Coding agents excel at customizing Chrome with extensions — nptacek · 2026-08-20
- AI SDK Factory: How It Works and Lessons on Software Factories — lgrammel · 2026-08-20
- DeepSeek V5 Suspected Testing in the Wild; Claude Code Gets Concise Mode — WorldofAI · 2026-08-20