22 lines
561 B
Python
22 lines
561 B
Python
#
|
|
# Copyright (c) 2025, Daily
|
|
#
|
|
# SPDX-License-Identifier: BSD 2-Clause License
|
|
#
|
|
|
|
"""Event models and data structures for OpenAI Realtime API communication."""
|
|
|
|
import warnings
|
|
|
|
from pipecat.services.openai.realtime.events import *
|
|
|
|
with warnings.catch_warnings():
|
|
warnings.simplefilter("always")
|
|
warnings.warn(
|
|
"Types in pipecat.services.openai_realtime.events are deprecated. "
|
|
"Please use the equivalent types from "
|
|
"pipecat.services.openai.realtime.events instead.",
|
|
DeprecationWarning,
|
|
stacklevel=2,
|
|
)
|