Skip to main content

One post tagged with "pgvector"

View All Tags

A model only knows what it saw in training. It has never read your files. Retrieval-augmented generation, or RAG, fixes that. You find the right passages first, then hand them to the model with the question.

By the end you will have a document Q&A service. It answers from your own Markdown files and shows which passages it used. You can check it with a small test set.

You need the Part 4 project, Java 17 or newer, Docker, and Ollama or a hosted model.