dspy.Parallel¶
dspy.Parallel(num_threads: int | None = None, max_errors: int | None = None, access_examples: bool = True, return_failed_examples: bool = False, provide_traceback: bool | None = None, disable_progress_bar: bool = False)
¶
Source code in dspy/predict/parallel.py
Functions¶
__call__(*args: Any, **kwargs: Any) -> Any
¶
forward(exec_pairs: list[tuple[Any, Example]], num_threads: int | None = None) -> list[Any]
¶
Source code in dspy/predict/parallel.py
:::