Skip to main content

Documentation Index

Fetch the complete documentation index at: https://assemblyai.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

This error is a byproduct of a request taking longer than the default timeout value built into the Python SDK, which is 15 seconds. This shouldn’t be a common occurrence but to allow for the occasional slowdown this setting can be changed like this:
import assemblyai as aai

aai.settings.api_key = f"{ASSEMBLYAI_API_KEY}"
aai.settings.http_timeout = 30.0