
    qi                        d Z ddlZ ej                         5   ej                  d        ej                  d       ddd       ddlmZ ddlmZ ddl	m
Z
mZ erddlmZ e G d	 d
e
             Ze G d de
             Zy# 1 sw Y   FxY w)as  Custom frame types for OpenAI Realtime API integration.

.. deprecated:: 0.0.92
    OpenAI Realtime no longer uses types from this module under the hood.

    It now works more like most LLM services in Pipecat, relying on updates to
    its context, pushed by context aggregators, to update its internal state.

    Listen for ``LLMContextFrame`` s for context updates.
    NalwaysaU  Types in pipecat.services.openai.realtime.frames are deprecated. 
OpenAI Realtime no longer uses types from this module under the hood. 

It now works more like other LLM services in Pipecat, relying on updates to 
its context, pushed by context aggregators, to update its internal state.

Listen for `LLMContextFrame`s for context updates.
)	dataclass)TYPE_CHECKING)	DataFrameFunctionCallResultFrame)OpenAIRealtimeLLMContextc                       e Zd ZU dZded<   y)RealtimeMessagesUpdateFramezFrame indicating that the realtime context messages have been updated.

    Parameters:
        context: The updated OpenAI realtime LLM context.
    r   contextN)__name__
__module____qualname____doc____annotations__     Y/opt/pipecat/venv/lib/python3.12/site-packages/pipecat/services/openai/realtime/frames.pyr
   r
   '   s     ('r   r
   c                       e Zd ZU dZeed<   y)RealtimeFunctionCallResultFramezFrame containing function call results for the realtime service.

    Parameters:
        result_frame: The function call result frame to send to the realtime API.
    result_frameN)r   r   r   r   r   r   r   r   r   r   r   2   s     *)r   r   )r   warningscatch_warningssimplefilterwarndataclassesr   typingr   pipecat.frames.framesr   r   (pipecat.services.openai.realtime.contextr   r
   r   r   r   r   <module>r      s   	 X H(#HMM	? "   DQ () ( ( *i * *? s   %BB