openai-agents-python/src/agents/voice/imports.py
Dominik Kundel c7ce154637 feat: add voice pipeline support
> Co-authored-by: rm@openai.com
2025-03-20 09:43:13 -07:00

11 lines
346 B
Python

try:
import numpy as np
import numpy.typing as npt
import websockets
except ImportError as _e:
raise ImportError(
"`numpy` + `websockets` are required to use voice. You can install them via the optional "
"dependency group: `pip install openai-agents[voice]`."
) from _e
__all__ = ["np", "npt", "websockets"]