batch_chat_completed

batch_chat_completed(chat, prompts, path)

Check if a batch job is completed without waiting.

Parameters

Name Type Description Default
chat Chat Chat instance used for the batch required
prompts list[ContentT] | list[list[ContentT]] List of prompts used for the batch required
path Union[str, Path] Path to batch state file required

Returns

Name Type Description
True if batch is complete, False otherwise