Ask a question to get started
Enter to sendā¢Shift+Enter new line
build_task_spec( *, output_schema: Union[type[BaseModel], dict[str, Any], str],
Build a TaskSpecParam dict from pydantic classes / schemas / text.
TaskSpecParam
Mirrors the helper used in https://docs.parallel.ai/task-api/examples/task-enrichment.