select open change scope Open full search

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

Extensions / AI and vectors

pg_sentence_transformer

Runs a Hugging Face sentence-transformer model inside a preload background worker and maintains pgvector embeddings for a configured table.

pgext.cloud · Source code · Documentation · Control file

Overview

Packagepg_sentence_transformer
Version0.1
RepositoryUnspecified
Extension typePreloaded
Requires CREATE EXTENSIONYes
Requires preloadYes
TrustedNo
RelocatableYes
Shared librariespg_sentence_transformer
Schemasentence_transformer
Stars17
Latest commit2025-03-24
Catalogue updated2026-08-30

Related extensions

Requires

plpgsqlPL/pgSQL procedural language
plpython3uPL/Python3U untrusted procedural language
vectorvector data type and ivfflat and hnsw access methods

See also

vectorvector data type and ivfflat and hnsw access methods
pgcontextVector, filter-aware HNSW, and hybrid retrieval over authoritative PostgreSQL tables.
vectorizeThe simplest way to do vector search on Postgres
pgmnemoSingle-plan multimodal agent memory for PostgreSQL
pgedge_vectorizerAsynchronous text chunking and embedding generation for PostgreSQL using background workers and pgvector.
pg_gembedGenerate embeddings inside PostgreSQL
google_ml_integrationGoogle Cloud machine learning integration extension for registering model endpoints, generating embeddings, and invoking predictions from SQL.
lantern_extrasConvenience functions for working with vector embeddings
smlarEffective similarity search
rds_aiAlibaba Cloud RDS extension for calling LLMs, generating embeddings, semantic retrieval, and end-to-end RAG from SQL