← Back to Library
AllIntermediateIdeas

Contextual Compression Core Context Extractor

Reduces costs and improves accuracy by summarizing and filtering long documents instead of raw injection, compressing only essential context.

❀️ 1,120 likes

πŸ“‹ Full Prompt

Compress [long document/conversation] into essential context for the following task. [Compression Criteria] - Target task: [specific downstream task] - Information types to retain: [key facts, decisions, figures etc.] - Information types to remove: [repetitions, greetings, irrelevant details] - Target compression ratio: under 20% of original Output the compressed result as a structured summary, then perform [downstream task] using only this compressed context.

πŸ’¬ Input Example

Document: 30-page meeting minutes β†’ Downstream task: Write key decisions email

✨ Output Example

Compressed context: {decisions: [...], owners: [...], deadlines: [...]} Email draft: ...

🏷️ Tags

#context management#cost reduction#efficiency

πŸ’‘ Usage Tips

  • βœ…Replace the variables in brackets ([]) with your specific situation.
  • βœ…Specify the desired tone and length of writing for more accurate results.
  • βœ…Request additional modifications based on the generated output to improve quality.
  • βœ…Specifying a particular audience allows AI to adjust vocabulary and explanation level.

πŸ”— Related Prompts

Effective Writing Strategies with AI

AI writing prompts let you efficiently produce blog posts, business emails, press releases, novels, and more. The key is to assign AI a precise role, and clearly specify the desired tone, length, and target audience. For example, requesting "write a 2000-word SEO-optimized blog post in a professional tone" yields significantly higher-quality output. After generating a draft, iterative feedback helps elevate the final quality step by step.

This prompt belongs to the Ideas category, optimized for All at a Intermediate level. It is systematically designed applying core prompt engineering principles: role assignment, context setting, and constraints.

Explore More Prompts

Discover 90+ verified prompts in the PromptGenie library.

Browse Library