Thanks for the details, @dip_gohil, that helps a lot. Taking your four questions in order:
1. Evaluation: per-tenant or shared golden set?
Start with one shared set, kept as a single table (question, reference answer, source passage), to avoid over-complicating things. Add tenant, language and query_type columns (spec lookup, comparison, price filter, exact SKU, follow-up) so you can slice the scores instead of maintaining separate sets. Only split out a per-tenant set if one tenant’s slice shows problems the shared set doesn’t catch. Include a few follow-ups like “what about the other one?”.
2. Failures
Mark every failure explicitly. In LangSmith I use an online LLM-as-judge evaluator on the tracing project to flag failing answers. You can limit it to certain runs (for example by tenant metadata) and set a sampling rate such as 10% to control judge cost. Evaluated traces move to extended retention, which affects trace pricing. Then filter for the failed traces and open each one to see which stage broke: retrieval, reranking or generation. Add each failure back to the golden set so it becomes a regression test. For follow-ups, there are also multi-turn evaluators that score a whole conversation.
3. Latency
I use LangSmith tracing for this. Make each stage (rewrite, retrieve, rerank, generate) its own span, e.g. with @traceable, so every trace shows where the time went. Then set a latency alert on the project. The preview shows how often a threshold would have fired on past data, and notifications can go to Slack, PagerDuty or a webhook. The metric is the average over a 5- or 15-minute window, so it catches regressions but not single slow requests (check your slowest traces for p95). You can also scope an alert by tag or run type to watch one stage, such as the rewrite call.
4. Vector DB
In my production-like tests Weaviate has been the best fit, mainly for native hybrid search and filtering, but I’d test rather than assume. Run the same golden set through (a) your current Chroma + Postgres FTS + RRF, (b) pgvector + Postgres FTS in one database, and (c) Weaviate hybrid. Compare hit rate, p95 latency, how each handles many small tenants vs a few large ones, and how much you have to operate. Include your filtered queries (price limits, tenant filters), since filtered search is often where engines differ most.
Weaviate’s hybrid search has knobs that fit your query types: alpha to weight keyword vs vector (set it explicitly), relative-score or ranked fusion, per-property boosts for SKUs and model codes, and filters for price limits:
from weaviate.classes.query import Filter
products = client.collections.use("Products")
response = products.query.hybrid(
query="XR-7 spec sheet",
alpha=0.5,
query_properties=["title^3", "sku^3", "description"],
filters=Filter.by_property("price").less_than(500),
limit=30,
)
Also check how your SKU fields are tokenized. By default, Test_domain_weaviate becomes three separate tokens.
One request: the failure examples and the p50/p95 numbers in your post still show placeholders ([X], [Y]). If you can share the real figures or a couple of traces, I can be more specific.
Sources: RAG Pipeline for industries, LLM-as-a-judge online evaluators, Alerts in LangSmith, Weaviate hybrid search