Skip to main content

Module adaptive

Module adaptive 

Source
Expand description

Embedding-free content classifier for adaptive eco mode selection.

Hosts may combine this with CompressionProfile defaults, telemetry, and user prefs.

Structs§

AdaptiveRecommendation
Outcome of recommend_mode_for_content.

Functions§

recommend_mode_for_content
Recommend an EfficientMode from raw prompt text (mirrors short-prompt passthrough threshold in crate::compress).