Source-grounded RAG assistant for building renovation queries
Answering technical building-renovation questions with verifiable documentation, without depending on paid cloud models, while maintaining service through failures.
Solo project: architecture, backend, frontend, ingestion, evaluation, infrastructure and deployment.

Key outcomes
Published bilingual assistant: cites sources and abstains when evidence is insufficient. Fallback tested in the published environment: with pgvector stopped, retrieval continued through Lambda/S3 Vectors. Testing snapshot: 547 unit tests, 86 integration tests and 9 Lambda tests; a specific internal evaluation from 58/70 to 66/70 accepted cases (not overall accuracy).
Key decision:
View detailsHide details
Context and challenge
Contributions
Full-stack implementation with Angular and a Java 21/Spring AI backend. Python pipeline for deterministic Markdown ingestion, chunking, hierarchical metadata and embeddings. Source-grounded answers, abstention conditions, SSE streaming and per-IP/system usage limits. Separate generation, embedding and retrieval paths; local Ollama models with remote fallback. S3 Vectors integrated through Java 21 Lambda, IAM and CloudWatch traces.
Technical decisions and architecture
Synology NAS hosting production services; GPU desktop as primary generation host and laptop as fallback, according to the configuration at the time. Control of concurrency, connections and slow clients, heartbeats and model preloading. Experiments with topK, thresholds, chunking and positive/negative tests in ES/EN.
Full stack
Additional technologies: