Expand description
Resolve a raw provider response into a task’s per-row output, given the
(task, backend) pair. Local classification takes argmax over logits (equal
to argmax of softmax — classify returns only the label, so no softmax).
Sentiment is numeric: local softmaxes the logits to P(pos) − P(neg), remote
parses a number from the reply — a continuous score in [-1, 1]. Stays
Arrow-free: returns InferenceOutputs; the operator builds the column.
Enums§
- Adapter
Error - Errors from adapting a response to a task output.
Functions§
- parse_
response - Resolve a raw provider response into the task’s per-row output column.