AIPython★ 926⑂ 416 forksMIT
LibreChat-AI/rag-api
RAG API ON FASTAPI AND PGVECTOR
ID‑based RAG service on FastAPI with Langchain and PostgreSQL/pgvector integration. Stores embeddings, performs similarity search, and provides REST endpoints for indexing and queries.
// KEY FEATURES
- Stores vector embeddings with a unique ID in PostgreSQL via the pgvector extension.
- Provides REST endpoints for adding, updating, and deleting documents by ID.
- Performs fast nearest‑neighbor search using Langchain retriever.
- Supports metadata filtering and adjustable similarity threshold via API.
#api#api-rest#embeddings#fastapi#langchain#pgvector#postgresql#psql#python#rag#vector#vector-database
Open on GitHub →New repositories every 30 minutes
REDDYX AI scans GitHub 24/7 and ships the best AI/ML/Web3 projects to Telegram.
Join on Telegram