Retrieval-augmented answers with Semantic Kernel
Document ingestion, pgvector search, and OpenAI-powered Q&A in a clean .NET 9 API.
At a glance
Stack
A text-only retrieval-augmented generation system built with .NET 9, Semantic Kernel, PostgreSQL, and pgvector.
Documents are stored with generated embeddings. A question is embedded, matched against the vector store with cosine similarity, and the retrieved context is passed to an OpenAI model through Semantic Kernel.
The API includes document management endpoints, a seed flow, and both simple and advanced question endpoints.
What I worked on
RAG
end to end
pgvector
similarity search