batch_chat_text
batch_chat_text(chat, prompts, path, wait=True)Submit multiple chat requests in a batch and return text responses.
This is a convenience function that returns just the text of the responses rather than full Chat objects.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| chat | Chat | Chat instance to use for the batch | required |
| prompts | list[ContentT] | list[list[ContentT]] |
List of prompts to process | required |
| path | Union[str, Path] | Path to file (with .json extension) to store batch state | required |
| wait | bool | If True, wait for batch to complete | True |
Return
List of text responses (or None for failed requests)