compact
Drop context blocks irrelevant to an objective, using offline or API providers, and keep content unchanged if filtering fails.
Instructions
Drop context blocks irrelevant to an objective. Default provider mechanical is fully offline (no key, no network); laya is offline semantic (needs the [laya] extra, else honest mechanical fallback); jev needs TYPESAFE_API_KEY. Fail-safe: failures keep content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| provider | No | mechanical | |
| question | Yes | ||
| threshold | No |