Learn how to configure and use the database provider in R2R
DatabaseProvider
offers a unified interface for both relational and vector database operations. R2R only provides database support through Postgres with the pgvector extension.
Postgres was selected to power R2R because it is free, open source, and widely considered be a stable state of the art database. Further, the Postgres community has implemented pgvector for efficient storage and retrieval of vector embeddings alongside traditional relational data.
database
section in your r2r.toml
file:
upsert_entries
for better performance when dealing with multiple records.