select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Extensions / AI and vectors

pg4ml

Machine learning framework for PostgreSQL

pgext.cloud · Source code · License text · Control file

Overview

Packagepg4ml
Version2.0
PostgreSQL versions14 · 15 · 16 · 17 · 18
RepositoryPIGSTY
Extension typeSQL only
Requires CREATE EXTENSIONYes
Requires preloadNo
TrustedYes
RelocatableYes
Stars13
Latest commit2026-02-08
Catalogue updated2026-07-29

Related extensions

Requires

plpgsqlPL/pgSQL procedural language
tablefuncfunctions that manipulate whole tables, including crosstab
cubedata type for multidimensional cubes
plpython3uPL/Python3U untrusted procedural language

See also

vectorizeThe simplest way to do vector search on Postgres
pgmlRun AL/ML workloads with SQL interface
pgcontextVector, filter-aware HNSW, and hybrid retrieval over authoritative PostgreSQL tables.
pgmnemoSingle-plan multimodal agent memory for PostgreSQL
vectorvector data type and ivfflat and hnsw access methods
pg_summarizeText Summarization using LLMs. Built using pgrx
pg_ai_queryAI-powered SQL query generation for PostgreSQL