r/learnprogramming • • 18d ago

Which combination works best?

Im trying to combine knowledge graphs with vector embeddings for a RAG setup in a project. What do you guys advice? Neo4J + Weaviate / PGVector / Qdrant. Curious what y'all pick

6 Upvotes

5 comments sorted by

1

u/ResidentPomegranate6 18d ago

keep graph and vector store separate, join at query time; swapping either is trivial. chunking and your embedding model matter more than the db choice.

1

u/VinceBrand 18d ago

Why separate though? And which first vector or knowledge graph?

1

u/rsham004 18d ago

It's cleaner.

Also need data eventually so the data store can be swapped for a different option or tech choice without breaking it

The graph design will influence the data structure of the data store. Do what feels useful in terms of sequence

1

u/timber_gaze 18d ago

Pick Qdrant. it has the lowest latency and handles hybrid search natively so you can filter by graph relations without joining stores at query time

1

u/EszterSantos72 18d ago

If you want simple setup and fast similarity search, Qdrant is easier to run than Weaviate and PGVector, especially if you use the current stable Docker image. Neo4J pairs well with it since both have REST APIs.