Skip to main content
A team of specialized agents runs RAG across distributed PostgreSQL vector databases with pgvector. The members handle vector retrieval, hybrid search, data validation, and response composition.

Code

cookbook/03_teams/15_distributed_rag/01_distributed_rag_pgvector.py

Usage

1

Set up your virtual environment

2

Set up PostgreSQL with pgvector

3

Install required libraries

4

Set environment variables

5

Run the agent