How I built a vector-based SQL generator: A practical RAG pipeline for beginners | Dark Hacker News