Skip to main content
Neon Postgres Docs
current

Search documentation

Type to search this documentation.

On this pageOverview

The pgrag extension

pgrag is a deprecated experimental extension and is not recommended for new projects. It runs small local models directly on your Postgres server rag_bge_small_en_v15 for embedding and rag_jina_rerank...

The pgrag extension was an experimental way to build end-to-end Retrieval-Augmented Generation (RAG) pipelines in SQL, using local models for embedding and reranking alongside pgvector for storage. It remains available on existing projects, but it's no longer recommended for new work.

The pgrag source remains available in the pgrag GitHub repository.

Join our Discord Server to ask questions or see what others are doing with Neon. For paid plan support options, see Support.

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu