Metric-aware LLM inference for regression and scoring