Hello guys,
I got some serious issue in my RAG pipeline.
Here is the case,
I’ve already trained almost 10 large source urls (~1500 pages each), and then I’ve indexed one small pdf document which has hardly 5 chunks there (~3 pages pdf).
Then I’ve asked some queries in my assistant regarding that pdf content, but either it says query is out of context which is our default line when answer not found or it gives information from sources but chunks are there.
Even I’ve asked same query content from heading of the pdf it still can’t able to find that chunk.
below are threshold values I’m using in that rag:
| Role | Value |
|---|---|
| Default chunks to LLM | top_k = 5 |
| Hybrid fuse | 0.65 semantic + 0.35 keyword |
| Tier-1 “good enough” top-1 | ≥ 0.16 |
| Tier-1 top-3 mean | ≥ 0.20 |
| Keyword-only floor | ≥ 0.20 |
| Fallback if top-1 weak | < 0.16 |
| Evidence semantic rescue (no codes) | ≥ 0.55 |
| Skip rerank if clear | top-1 ≥ 0.75 + margin 0.10 |
Is there any way to define the priority of sources when user asks the query or at the time of embeddings, or any other ways?
If you guys can do any help, It would be great.
Thank you.