← 开源
ChuckHend

pg_vectorize

Full-text and semantic search on any Postgres

InfrastructureData systemsIndex & SearchRust
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
832
Star
42
Fork
+0
本周
23
贡献者
创建于 2023-07-24 · 更新于 2026-10-16 · 今日第 13363 名
主要开发者
ChuckHendadam-muinuddinEvanHStanton

ChuckHend/pg_vectorize 排名第 13,363,有 832 个星标。

同类别比较

ChuckHend/pg_vectorize 排名第 13,363,此处有 8 个同类条目;hoophq/hoop 排名第 13,375。

同类别比较
名称排名指标
scaleapi/llm-engine13,317
语言:
Python
星标数:
839
分叉数:
87
简介:
Scale LLM Engine public repository
RedisAI/redis-inference-optimization13,321
语言:
C
星标数:
838
分叉数:
105
简介:
A Redis module for serving tensors and executing deep learning graphs
UniversalRobots/Universal_Robots_ROS2_Driver13,323
语言:
C++
星标数:
838
分叉数:
363
简介:
Universal Robots ROS2 driver supporting CB3 and e-Series
llama-farm/llamafarm13,340
语言:
Python
星标数:
835
分叉数:
60
简介:
Deploy any AI model, agent, database, RAG, and pipeline locally or remotely in minutes
hoophq/hoop13,375
语言:
Go
星标数:
831
分叉数:
67
简介:
Open-source enforcement at runtime that masks sensitive data and blocks destructive commands from AI agents. You change one thing: your agent's port.
lucasjinreal/Kokoros13,401
语言:
Rust
星标数:
829
分叉数:
117
简介:
🔥🔥 Kokoro in Rust. https://huggingface.co/hexgrad/Kokoro-82M Insanely fast, realtime TTS with high quality you ever have.
tech-shrimp/gemini-balance-lite13,439
语言:
JavaScript
星标数:
825
分叉数:
789
简介:
Gemini API 代理, 把Gemini API免费中转到国内。还可以聚合多个Gemini API Key,随机选取API Key的使用实现负载均衡,使得Gemini API免费成倍增加。
eyelevelai/groundx-on-prem13,475
语言:
Go Template
星标数:
821
分叉数:
89
简介:
A Kubernetes deployable instance of GroundX for document parsing, storage, and search.
关键参数与规格
关键参数与规格
参数值
语言Rust
类别Infrastructure
子类别Data systems,Index & Search
关键词RAG
星标数832
分叉数42
贡献者23
创建日期2023-07-24
更新日期2026-10-16
1 天星标数0
7 天星标数0
排名13,363
上次排名13,265
排名变化-98
7 天星标排名13,903
上次 7 天星标排名13,925
7 天星标排名变化22
总星标排名12,906
上次总星标排名12,886
总星标排名变化-20
国家USA
README 摘录

pg_vectorize: a VectorDB on Postgres A Postgres server and extension that automates the transformation and orchestration of text to embeddings and provides hooks into the most popular LLMs. This allows you to do get up and running and automate maintenance for vector search, full text search, and hybrid search, which enables you to quickly build RAG and search engines on Postgres. This project relies heavily on the work by pgvector for vector similarity search, pgmq for orchestration in background

workers, and SentenceTransformers. This project provides an external server only implementation and SQL experience via a Postgres extension. Modes at a glance: HTTP server (recommended for managed DBs): run a standalone service that connects to Postgres and exposes a REST API (POST /api/v1/table, GET /api/v1/search). Postgres extension (SQL): install the extension into Postgres and use SQL functions like and (requires filesystem access to Postgres; see . This generates embeddings for the existing data and continuously watches for

updates or new data: Search using the HTTP API: Which should I pick? Use the HTTP server when your Postgres is managed (RDS, Cloud SQL, etc. It requires only that is available in the database. Use Postgres extension when you self-host Postgres and can install extensions. This provides an in-database experience and direct SQL APIs for vectorization and RAG. If you want hands-on SQL examples or to install the extension into Postgres, see . For full HTTP API

docs and deployment notes, see . For contribution guidelines see in the repo root.

常见问题

记录了多少星标和分叉?

ChuckHend/pg_vectorize 有 832 个星标和 42 个分叉。

仓库排名是多少?

ChuckHend/pg_vectorize 排名第 13,363。

记录的语言和类别是什么?

ChuckHend/pg_vectorize 有 832 个星标,语言为 Rust,类别为 Infrastructure。

哪个仓库排名最接近?

ChuckHend/pg_vectorize 与 hoophq/hoop 比较,后者排名第 13,375,有 831 个星标。

README

pg_vectorize: a VectorDB on Postgres

A Postgres server and extension that automates the transformation and orchestration of text to embeddings and provides hooks into the most popular LLMs. This allows you to do get up and running and automate maintenance for vector search, full text search, and hybrid search, which enables you to quickly build RAG and search engines on Postgres.

This project relies heavily on the work by pgvector for vector similarity search, pgmq for orchestration in background workers, and SentenceTransformers.


API Documentation: https://chuckhend.github.io/pg_vectorize/

Source: https://github.com/chuckhend/pg_vectorize

Overview

pg_vectorize provides two ways to add semantic, full text, and hybrid search to any Postgres making it easy to build retrieval-augmented generation (RAG) on Postgres. This project provides an external server only implementation and SQL experience via a Postgres extension.

Modes at a glance:

  • HTTP server (recommended for managed DBs): run a standalone service that connects to Postgres and exposes a REST API (POST /api/v1/table, GET /api/v1/search).
  • Postgres extension (SQL): install the extension into Postgres and use SQL functions like vectorize.table() and vectorize.search() (requires filesystem access to Postgres; see ./extension/README.md).

Quick start — HTTP server

Run Postgres and the HTTP servers locally using docker compose:

# runs Postgres, the embeddings server, and the management API
docker compose up -d

Load the example dataset into Postgres (optional):

psql postgres://postgres:postgres@localhost:5432/postgres -f server/sql/example.sql
CREATE TABLE
INSERT 0 40

Create an embedding job via the HTTP API. This generates embeddings for the existing data and continuously watches for updates or new data:

curl -X POST http://localhost:8080/api/v1/table -d '{
		"job_name": "my_job",
		"src_table": "my_products",
		"src_schema": "public",
		"src_columns": ["product_name", "description"],
		"primary_key": "product_id",
		"update_time_col": "updated_at",
		"model": "sentence-transformers/all-MiniLM-L6-v2"
	}' -H "Content-Type: application/json"
{"id":"16b80184-2e8e-4ee6-b7e2-1a068ff4b314"}

Search using the HTTP API:

curl -G \
  "http://localhost:8080/api/v1/search" \
  --data-urlencode "job_name=my_job" \
  --data-urlencode "query=camping backpack" \
  --data-urlencode "limit=1" \
  | jq .
[
  {
    "description": "Storage solution for carrying personal items on ones back",
    "fts_rank": 1,
    "price": 45.0,
    "product_category": "accessories",
    "product_id": 6,
    "product_name": "Backpack",
    "rrf_score": 0.03278688524590164,
    "semantic_rank": 1,
    "similarity_score": 0.6296013593673706,
    "updated_at": "2025-10-05T00:14:39.220893+00:00"
  }
]

Which should I pick?

  • Use the HTTP server when your Postgres is managed (RDS, Cloud SQL, etc.) or you cannot install extensions. It requires only that pgvector is available in the database. You the HTTP services separately.
  • Use Postgres extension when you self-host Postgres and can install extensions. This provides an in-database experience and direct SQL APIs for vectorization and RAG.

If you want hands-on SQL examples or to install the extension into Postgres, see ./extension/README.md. For full HTTP API docs and deployment notes, see ./server/README.md.

For contribution guidelines see CONTRIBUTING.md in the repo root.

排名相邻
同类项目