Prompt Engineering & Structured Output
Writing reliable production prompts for LLM features β instructions, untrusted input, examples, reasoning, schema-constrained output validated in Go, caching, versioning and Vietnamese input.
RAG & Vector Search
Designing retrieval-augmented generation β chunking, embeddings, ANN indexes, vector store choice, hybrid search and reranking, ACL-aware retrieval, freshness, and evaluating retrieval separately from generation.
Agents, Tool Use & MCP
How tool calling works, workflows versus agents, bounded agent loops, tool design, human approval for side effects, the Model Context Protocol, durable execution and multi-agent trade-offs.
LLM Application Architecture: Gateway, Cost & Latency
How to put LLM features into production behind a gateway β routing, fallback, rate limits, budgets, caching, redaction, streaming latency, non-AI fallbacks, batch jobs, token cost estimation, self-hosting and data residency.
Evaluating & Observing LLM Systems
How to prove an LLM feature works and keeps working β deterministic checks, golden datasets, calibrated LLM-as-judge, online tests, quality and cost metrics, evals as a CI gate, step-level tracing with OpenTelemetry GenAI conventions, logging policy, SLOs, drift, and audit evidence for banks.
LLM Security, Privacy & Governance
Threats and controls for LLM applications in banks and e-commerce β OWASP Top 10 for LLMs (2025), prompt injection and the lethal trifecta, defence in depth, data protection, model supply chain, and AI governance.
Case Study: AI Banking Assistant
Interview-style design of an LLM assistant in a retail bank's mobile app that answers product questions, explains transactions and helps dispute card charges β RAG, scoped tools, confirmed actions, guardrails, evaluation, audit and fallback.