[RMP Optimized] Context Compression Engine
8.2/10Overall
8.2AI
No user ratings
Optimized from: Context Compression Engine
Submitted Aug 5AI evaluated Aug 5
Prompt
Please compress the previous context efficiently using one of the following techniques. Ensure clarity, maintain critical details, and choose the method based on the information type and needs. Provide a clear output structure as specified below:
1. **Extractive Summary**:
- Pull key sentences verbatim from the original context.
- Maintain critical details with a target compression ratio of 70%.
- Example Output: 'Key Sentence 1. Key Sentence 2.'
2. **Abstractive Summary**:
- Rewrite the context in a condensed form, capturing the essence rather than the exact words.
- Aim for an 85% compression ratio.
- Example Output: 'Condensed essence of the context.'
3. **Structured Extraction**:
- Format the output as a structured JSON object:
```json
{
"decisions": ["decision1", "decision2"],
"constraints": ["constraint1"],
"key_facts": ["fact1", "fact2"]
}
```
- Ensure all fields are populated based on the context provided.
**Error Handling**: If the context is too brief or lacks sufficient detail for effective compression, return an error message: 'Insufficient context for compression.'
**Success Criteria**: The output should clearly reflect the chosen method, maintain essential information, and adhere to the specified compression ratios.
Optimization Improvements
- •Added clear instructions for each compression method.
- •Included example outputs for better clarity.
- •Defined error handling for insufficient context.
- •Specified success criteria for the output.
- •Structured the prompt for improved readability.
The optimization focuses on enhancing clarity and specificity by providing structured instructions, examples, and error handling. This approach ensures that users can easily understand and apply the compression techniques effectively.
AI Evaluation
How we evaluateClaude 3 Haiku
AI Evaluation
8.0/10
GPT-4 Mini
AI Evaluation
8.3/10
User Rating
No ratings yet. Be the first to rate!
Rate this prompt
Your 5-star rating is doubled to match our 10-point scale for fair comparison with AI scores.