Context payload optimization for ICL tabular models
Bigger context payloads buy accuracy and charge you latency and tokens. How KNN-based prefiltering with scikit-learn trims an ICL payload without losing predictive accuracy, and whether to run it client side or service side.