o
    Ã¿i¬  ã                   @   sh   d Z 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„ deƒƒZ
eG dd	„ d	eƒƒZd
S )z7Custom frame types for OpenAI Realtime API integration.é    )Ú	dataclass)ÚTYPE_CHECKING)Ú	DataFrameÚFunctionCallResultFrame)ÚOpenAIRealtimeLLMContextc                   @   s   e Zd ZU dZded< dS )ÚRealtimeMessagesUpdateFramez–Frame indicating that the realtime context messages have been updated.

    Parameters:
        context: The updated OpenAI realtime LLM context.
    r   ÚcontextN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú__annotations__© r   r   ú`/home/ubuntu/.local/lib/python3.10/site-packages/pipecat/services/openai_realtime_beta/frames.pyr      ó   
 r   c                   @   s   e Zd ZU dZeed< dS )ÚRealtimeFunctionCallResultFramez¨Frame 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      r   r   N)r   Údataclassesr   Útypingr   Úpipecat.frames.framesr   r   Ú-pipecat.services.openai_realtime_beta.contextr   r   r   r   r   r   r   Ú<module>   s   
