wisdom_auto_transform
Automatically select the optimal compression transformer for text fragments based on type and token budget pressure, returning encoding instructions that preserve content quality while fitting context limits.
Instructions
Automatically select the optimal transformer based on fragment type and context pressure, then return encoding instructions. Uses tested presets: T1-Symbolic (39% compression, 4.58/5 quality), T3-Compact (56%, 3.83/5), T4-Hybrid (24%, 5.0/5).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Content to transform | |
| fragment_type | Yes | Type of the fragment (determines transformer selection) | |
| preset_override | No | Override automatic selection with a specific preset | |
| context_pressure | No | How close to token budget (0.0 = plenty of space, 1.0 = nearly full). Higher pressure selects more aggressive compression. Default: 0.0 |