mazzasaverio/fastapi-langchain-rag
(Let's start with a) Scalable question-answering system utilizing FastAPI, LangChain (LCEL), and PGVector, featuring an ingestion pipeline. Deployed on GCP Cloud Run via Terraform.
Implements a complete RAG pipeline with PDF ingestion into pgvector, authentication via JWT tokens, and usage-based rate limiting through Stripe subscriptions. The backend exposes a `/qa/chat` endpoint consumed by a Next.js frontend, with infrastructure-as-code provisioning CloudSQL, Redis caching, and Cloud Run deployment through Terraform submodules.
No commits in the last 6 months.
Stars
43
Forks
6
Language
Python
License
—
Category
Last pushed
Apr 14, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/rag/mazzasaverio/fastapi-langchain-rag"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
QmiAI/Qmedia
An open-source AI content search engine designed specifically for content creators. Supports...
charliewei0716/on-your-data-with-streamlit
Showcase the use of Azure OpenAI's native On Your Data feature and integrates it with Streamlit,...
ben-ogden/pinecone-rag
Using Pinecone, LangChain + OpenAI for Generative Q&A with Retrieval Augmented Generation (RAG).
thevladdo/rag-backend
Retrieval-Augmented Generation server with Pinecone and OpenAI
teamunitlab/rag-document-app
This FastAPI-based RAG service processes OCR data, generates embeddings using OpenAI, and...