Skip to content
View ApecSinlapachai's full-sized avatar

Block or report ApecSinlapachai

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
ApecSinlapachai/README.md

Hi, I'm Sinlapachai Kaeobunrueang (Apec) 👋

AI & AI Automation Engineer
Building production Hybrid RAG systems, stateful AI Operations Agents, multimodal Screen-to-SOP pipelines, and deterministic workflow automation with measurable evaluation, PDPA guardrails & LLM cost control.

📍 Bangkok, Thailand · 🎓 B.S. Digital Technology & Innovation (GPA 3.84) · 🌐 TOEIC 845 (CEFR B2)

Portfolio LinkedIn YouTube Email


🚀 Engineering Focus

I build production-minded AI and automation systems designed for real-world operations—combining deterministic software engineering (when rules, SQL locking, AST verification, and schema validation beat LLM latency and cost) with applied AI engineering (Hybrid RAG, LangGraph state-machine agents, multimodal Vision-to-Code SSE pipelines, HITL approval gates, PDPA PII redaction, and automated evaluation).

  • AI & Agentic Systems: Thai–English Hybrid RAG (pgvector + PyThaiNLP FTS + pg_trgm RRF), LangGraph SQL-First State Machines, Multimodal Gemini Vision-to-SOP & AST-Verified Code Generation, Pydantic v2 Structured Outputs, Tiered Gemini 3.x Model Routing (62.78% cost cut)
  • Backend, Data & Automation: Python (FastAPI, SSE, Pytest, psycopg3), PostgreSQL 16, n8n Workflow Automation, Playwright, Next.js 15 (Same-Origin & Streaming SSE Proxies), Docker, GitHub Actions CI, Google Apps Script
  • Reliability & Security Discipline: Pre-LLM PDPA PII & Secret-to-.env Redaction (0.00% leak rate), 3-Stage $0 Anti-Hallucination & Injection Guardrails, ast.parse() Verification Harness, Idempotency-Key + FOR UPDATE HITL/DLQ Replay, Golden Eval CI Gates

🎬 Unified 3-Flagship Portfolio Hub (No-Login $0/mo Cloud Stack)

All three flagship AI systems run live inside apec-ai-portfolio.vercel.app (Next.js 15 · Bilingual EN/TH SSG · Zero-Cold-Start AI Copilot · Same-Origin REST & Streaming SSE Proxies · 43/43 Vitest · 17/17 Routes).

1. enterprise-rag-ops-copilot — Thai–English Hybrid RAG & Guarded Ticket Triage

Running live on Vercel + Render + Supabase (PostgreSQL 16 pgvector) — verified with 47/47 Pytest and 25/25 Live & CI Golden Eval (1.00 citation/refusal/injection/JSON, 767 ms avg / 1516 ms P95).

🔗 Try Live Demo · 💬 Ask AI · 📂 Repository · 🩺 API Health

Enterprise RAG Ops Copilot Live Demo Walkthrough
Click preview to open Live Demo — Hybrid RRF (pgvector + PyThaiNLP + pg_trgm), 3-Stage $0 Guardrails, Tiered Gemini 3.x Routing & Pydantic v2 Triage

2. production-ai-agent-ops — State-Machine AI Operations Agent (HITL, PDPA, DLQ & Cost Routing)

Running live on Vercel (Same-Origin Proxy) + Render + Supabase PG16 — verified with 40/40 Pytest, 0.00 PDPA PII leak rate, 100% routing accuracy, and 62.78% LLM cost reduction ($0.1211 vs. $0.3254 per 1,000 runs) across 24 TH/EN benchmark cases.

🔗 Try Live Control Plane · 💬 Ask AI · 📂 Repository · 📘 Swagger API Docs

Production AI Agent Ops Live Control Plane Demo
Click preview to open Live Control Plane — LangGraph + PG16 FOR UPDATE HITL Gate, Pre-LLM PDPA Redaction, Idempotent Retry/DLQ Replay, n8n & 62.78% Cost Cut

3. screen-to-sop-automation — Multimodal Screen-to-SOP & Verified Automation Script Generator

Turns a screen recording (or 3 built-in synthetic workflows) into a structured Markdown + Flowchart SOP and a verified Playwright Python or n8n JSON script on a $0/mo stack. Features client-side <canvas> keyframe extraction + 4.5 MB Vercel payload budgeting (0 server video RAM), hardened same-origin SSE streaming (3.62s live 4-stage pipeline), secret & PDPA PII-to-.env sanitization, and an ast.parse() verification harness + self-repair loop — verified with 40/40 Pytest, 12/12 Golden Evals (100% valid), and 0.00% secret leak rate.

🔗 Try Live Workbench · 💬 Ask AI · 📂 Repository · 📘 Swagger API Docs

Screen-to-SOP & Automation Script Generator Live Workbench Demo
Click preview to open Live Workbench — Browser Keyframes (0 Server RAM), Hardened Same-Origin SSE, Secret-to-.env Sanitizer & AST-Verified Playwright/n8n Scripts


🛠️ Featured Public Repositories

Repository Focus & Engineering Signal Verified Stack & Metrics
apec-ai-portfolio (Live Hub · Ask AI) Unified 3-Flagship Portfolio Hub & Zero-Cold-Start AI Copilot: File-driven Markdown + Zod SSOT, Bilingual EN/TH SSG, 3-stage $0 guardrails + Gemini 3.x Copilot (/chat), Same-Origin REST & Hardened SSE Proxies + 4.5 MB Payload Budgeter Next.js 15 · React 19 · TypeScript · Tailwind v4 · @google/genai · 43/43 Vitest · 17/17 Routes
enterprise-rag-ops-copilot (Live Demo) Flagship #1 — Thai–English Hybrid RAG & Ticket Triage: pgvector + PyThaiNLP + pg_trgm RRF, 3-stage $0 anti-hallucination/injection guardrails, tiered Gemini 3.x routing, and Pydantic v2 structured outputs FastAPI · Next.js 15 · PG16 pgvector · Docker · 47/47 Pytest · 25/25 Live & CI Golden Eval
production-ai-agent-ops (Live Demo) Flagship #2 — State-Machine AI Operations Agent: SQL-first LangGraph + PG16 FOR UPDATE HITL/DLQ, pre-LLM PDPA PII redaction, Idempotency-Key, n8n JSON workflows, and Same-Origin proxy LangGraph · FastAPI · PG16 · n8n · Next.js 15 · 40/40 Pytest · 0.00 PDPA Leak · 62.78% Cost Cut
screen-to-sop-automation (Live Demo) Flagship #3 — Multimodal Screen-to-SOP & Verified Automation: Browser <canvas> keyframes (0 server video RAM), FastAPI SSE streaming, PDPA/secret-to-.env sanitizer, ast.parse() verification + self-repair, isolated screen_to_sop.* PG16 schema FastAPI SSE · Gemini Vision · Playwright · n8n · PG16 · 40/40 Pytest · 12/12 Golden Eval · 0.00% Leak
fast-lead-automation Deterministic Automation — Knowing When Not to Use AI: Concurrency-safe webhook intake, regex normalization, deduplication, and LINE Flex alerts ($0/mo SaaS overhead) Google Apps Script · n8n v2.0 · LINE Messaging API · Node.js · 85/85 Automated Offline Tests (45 + 28 + 12)
agentic-media-pipeline CLI Media Automation Pipeline: Deterministic 0-dependency Python + FFmpeg CLI for silence removal, contact-sheet inspection, and -16 LUFS loudness normalization Python 3.9+ (0-dep stdlib) · FFmpeg / FFprobe · Verified run: 27:00 → 10:37, -41.8 dB → -20.1 dB
ai-automation-til Public Engineering Notes (TIL #001–#035): Technical build logs on AI systems, context engineering, multimodal SSE proxies, workflow reliability, and PowerShell QA gates AI Systems · Context Engineering · Automation Ops · PDPA/Secret QA

🧩 Systems Architecture Overview

flowchart LR
    Hub["apec-ai-portfolio<br/>Next.js 15 Hub + AI Copilot<br/>43/43 Vitest · 17/17 Routes"] --> F1["Flagship #1: Hybrid RAG<br/>pgvector + PyThaiNLP · 25/25 Eval"]
    Hub --> F2["Flagship #2: AI Agent Ops<br/>LangGraph + HITL/DLQ · 62.78% Cost Cut"]
    Hub --> F3["Flagship #3: Screen-to-SOP<br/>Gemini Vision + SSE + AST · 12/12 Eval"]
    Det["Deterministic Automation<br/>fast-lead-automation · 85/85 Tests"] --> Ops["Zero-LLM Ops & LINE Flex"]
    TIL["Engineering Knowledge Base<br/>TIL #001-#035 · PDPA QA"] --> Pub["ai-automation-til"]
Loading

📫 Connect

Pinned Loading

  1. enterprise-rag-ops-copilot enterprise-rag-ops-copilot Public

    Thai-English Hybrid RAG Copilot & Pydantic v2 Ticket Triage API with PostgreSQL 16 pgvector, PyThaiNLP, Gemini API, and Golden Eval Gate

    Python

  2. production-ai-agent-ops production-ai-agent-ops Public

    State-Machine AI Operations Agent with LangGraph, HITL Approval Gates, PDPA PII Redaction, Idempotent Retry + DLQ, and Tiered Model Routing

    Python

  3. fast-lead-automation fast-lead-automation Public

    Deterministic Fast-Lead capture & Mini-CRM pipeline (Google Apps Script, LINE Flex API, n8n v2.0) — knowing when not to use AI, with 85/85 passing automated offline tests.

    JavaScript

  4. ai-automation-til ai-automation-til Public

    Public engineering notes & Today I Learned (TIL) on AI systems, context engineering, and workflow automation.