---
title: "Discussion on \"Building a RAG Service from Scratch with NestJS + pgvector\" | Hashnode"
description: "Discussion on \"Building a RAG Service from Scratch with NestJS + pgvector\". How I built a Retrieval-Augmented Generation (RAG) service from scratch using NestJS, PostgreSQL, and pgvector — covering chunking, embeddings, and semantic search."
url: "https://hashnode.com/posts/building-a-rag-service-from-scratch-with-nestjs-pgvector/6a4bed534bc0fc7b4e8c5e62"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Building a RAG Service from Scratch with NestJS + pgvector](https://yusufoztoprak.hashnode.dev/building-a-rag-service-from-scratch-with-nestjs-pgvector?utm_source=hashnode&utm_medium=feed)

How I built a Retrieval-Augmented Generation (RAG) service from scratch using NestJS, PostgreSQL, and pgvector — covering chunking, embeddings, and semantic search.

Jul 6 · 4 min read · yusufoztoprak.hashnode.dev  
Read the article

## Written by

[Yusuf Öztoprak](https://hashnode.com/@yusufoztoprak)

@yusufoztoprak · Istanbul, Turkey

  
[View profile](https://hashnode.com/@yusufoztoprak)

Backend Engineer | AI Infrastructure (RAG · pgvector · LLM APIs)

Backend Engineer building AI infrastructure — RAG, pgvector, LLM APIs.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
