A fully local RAG service with Kotlin, Ktor, Ollama and pgvector

Upload PDFs, ask questions, keep everything on your machine: a small retrieval-augmented generation service with query expansion and no external API calls.

December 3, 2025 · 3 min · Hamidreza Mohaqeq