Functions
The published Function supplies its prompt, model, schema, and sampling
defaults. Extra row fields are ignored, optional fields may be absent, and
values are converted to strings.
batch_run_function() returns a job ID, or None if submission fails. For large results, use
download_job_results().
The older synchronous signature,
run_function(name: str, input_data: dict | BaseModel, ...), currently raises
NotImplementedError; use batch_run_function().
Function execution through Batch is text-only. Image/PDF inputs, web search,
tool calling, and synchronous run_function() are not available in Batch.