Rerank search hits before context injection
From Wikiprompt, the free prompt encyclopedia
Rerank search hits before context injection A technique to reduce token usage and improve accuracy by reranking search results before adding them to the context.
Prompt ContentSave
π
Rerank, don't dump. Don't stuff 50 search hits into context. Run them through one cheap reranker model and keep only the best few. Saves 60% tokens and increases accuracy.
Sign in to see the full prompt
Continue with:
By logging in, you agree to our Terms of Use and Privacy Policy
Usage
This prompt is designed for use with productivity. Copy the prompt content above and paste it into your preferred AI tool.
For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.
Talk
0 comments