DBngin icon indicating copy to clipboard operation
DBngin copied to clipboard

Add Postgres Machine Learning Extension

Open bendo01 opened this issue 2 years ago • 1 comments

Is possible add pgvector (https://github.com/pgvector/pgvector) and postgresml (https://postgresml.org) in PostgreSQL 15 or newer?

bendo01 avatar Sep 02 '23 21:09 bendo01

if you export your config location like:

export PG_CONFIG=/Users/Shared/DBngin/postgresql/15.1/bin/pg_config

before installing, it should work. For example, for pg-vector, I did:

cd /tmp
git clone --branch v0.5.1 https://github.com/pgvector/pgvector.git
cd pgvector
export PG_CONFIG=/Users/Shared/DBngin/postgresql/15.1/bin/pg_config
make
make install

and it worked

youcefs21 avatar Jan 13 '24 19:01 youcefs21