We often have multiple vectors pointing to the same source document. When I have --qdrant-limit 3, it could find 3 different vectors that has the same source and hence include the same document in the system prompt 3 times.
The RAG server should check and remove duplicated source before inserting into the prompt. For example, if all 3 results are the same source, it should only insert the source into the system prompt ONCE.
We often have multiple vectors pointing to the same
sourcedocument. When I have--qdrant-limit 3, it could find 3 different vectors that has the samesourceand hence include the same document in the system prompt 3 times.The RAG server should check and remove duplicated
sourcebefore inserting into the prompt. For example, if all 3 results are the samesource, it should only insert thesourceinto the system prompt ONCE.