Internal function for class predictions with llm_predict models.
Examples
if (FALSE) { # \dontrun{
set_default_chat(ellmer::chat_openai())
fit <- fit_llm_predict(
data.frame(text = c("helpful", "unhelpful")),
factor(c("positive", "negative"))
)
predict_llm_class(fit, data.frame(text = "clear and useful"))
} # }