[Proposal] Multi-Tenant RAG, pgvector Hybrid Search & LLM Streaming Integration #2479
Replies: 1 comment
|
Solid proposal, and the branch has real working code behind it — here is a review of the parts that need a decision before this could land in the template, plus the process note. Process first: this repository asks for a Discussion and only opens PRs when a maintainer requests one, so the productive outcome here is agreement on the design. Worth putting the branch's diff and the migration in this thread so it can be evaluated without a PR. 1. Where the code lives. 2. Tenant isolation is the part that must be airtight.
3. pgvector specifics. 4. Hybrid search / RRF. 5. Streaming. 6. Quota guardrails. A 7. Ingestion. 8. Tests worth having. The suite can assert all of this without network: A's query never returns B's chunk, RRF ordering on a fixture corpus, |
Uh oh!
There was an error while loading. Please reload this page.
First Check
Example Code
Description
Proposing to add a multi-tenant RAG, pgvector hybrid search, and real-time LLM token streaming pipeline to the official full-stack template.
I have implemented and verified this in a complete branch with 90/90 tests passing:
https://github.com/VimalN2005/full-stack-fastapi-template
Key features:
Operating System
Windows
Operating System Details
No response
Project Version
latest (master)
Python Version
3.10+
Additional Context
Complete working fork & documentation available here:
https://github.com/VimalN2005/full-stack-fastapi-template
All reactions