0xPlaygrounds / rig

A library for developing LLM-powered Rust applications.
https://rig.rs
MIT License
81 stars 3 forks source link

feat: Add support for PostgreSQL vector store #5

Open cvauclair opened 2 weeks ago

cvauclair commented 2 weeks ago

Feature Request

Add vector store support for PostgreSQL (with pg_vector extension).

Motivation

PostgreSQL is one of the most widely used open source databases and supports vector search via the pg_vector extension. This makes the database a good integration candidate for Rig.

Proposal

Note: The integration should be similar to the MongoDB vector store integration (see rig-mongodb).