You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Number your segments in docs and prompt LLM to output numbers of relevant segments instead of actual relevant text to increase speed and reduce cost and increase extraction quality
#9
Open
shreyas-shinde opened this issue
Feb 5, 2025
· 4 comments
FYI: I have actually tried the numbered approach and have seen cost, latency go down because of output token reduction and also found that the eval score of downstream task (QA in my case) went up.
You can check the how to here https://www.reddit.com/r/MachineLearning/comments/17k6iha/d_relevance_extraction_in_rag_pipelines/?share_id=j0imtSJRhwS2Jz9gDYplj&utm_content=2&utm_medium=ios_app&utm_name=ioscss&utm_source=share&utm_term=1
The text was updated successfully, but these errors were encountered: