~/talk

AI without spaghetti: Clean architecture in the age of AI

A recipe site called Leo becomes a chatbot and then a refactored platform that separates domain, use cases and infrastructure so models change without breaking business logic. Live demos use Quarkus, PostgreSQL with Flyway migrations, OCR via Tess4J then LangChain for Java, and local inference (Ollama/Open LLM) with a 14B local model that proves too weak while Anthropic/OpenAI handle harder queries. CI checks like ArchUnit and SonarQube plus guardrails and a model gateway prevent token overuse and dependency rot.

AI-written summary · about

  1. 0:00Introduction
  2. 2:01Legacy app with AI
  3. 3:26AI code challenges
  4. 8:12Backend and database
  5. 11:29OCR and language support
  6. 13:34Replacing OCR with LangChain4j
  7. 18:11Clean architecture explained
  8. 22:05AI models and structure
  9. 25:43Local AI models
  10. 32:27Recipe chatbot
  11. 35:15AI chatbot guardrails
  12. 39:11Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.