Architecture

2 posts

Building an Enterprise Knowledge Base: Content Model, Git Publishing and Hybrid Search

A knowledge base works like a library: categories, books and editions, tables of contents, passages, narrowing the context level by level to give the chat model accurate knowledge. Drawing on a bilingual project with about 1,800 documents, this post covers defining the content model first, using Git for review and publishing, keeping exact document fetch separate from hybrid search, and choosing retrieval methods with an evaluation set instead of intuition.

  • AI
  • RAG
  • Knowledge Base
  • Search
November 15, 2026 · 11 min · 2285 words · Sam Peng
Originals are converted into a Git-managed Markdown knowledge base, which serves both exact document fetch and hybrid search

An Email-Driven Business Processing Model: A Near-Real-Time Architecture

A general architecture for business processes driven by a shared mailbox — near-real-time processing with Lambda + SQS, decision separated from execution, the mailbox as the source of truth, idempotency and graceful degradation, plus LLM-based intent classification.

  • Architecture
  • Email Processing
  • AWS
  • Lambda
November 13, 2026 · 11 min · 2125 words · Sam Peng
Email-driven business processing model — ingest, SQS and worker