
Utilizing PostgreSQL as a vector database in RAG
We set up the Postgres extension referred to as pgvector, which allows tables to have columns of sort vector the place vector is a set of floats. On this instance we use a 768-dimensional vector, i.e. a vector of size 768. We create a desk that may save the articles for our data base —…