
    qi2                       d dl mZ ddlmZ ddlmZmZmZmZm	Z	m
Z
 ddlmZmZ ddlmZmZmZmZmZmZ ddlmZmZmZmZmZmZ d	d
gZ G d d	e      Z G d d
e      Z G d d      Z G d d      Z  G d d      Z! G d d      Z"y)    )annotations   )cached_property   )Jobs	AsyncJobsJobsWithRawResponseAsyncJobsWithRawResponseJobsWithStreamingResponseAsyncJobsWithStreamingResponse)SyncAPIResourceAsyncAPIResource)Alpha
AsyncAlphaAlphaWithRawResponseAsyncAlphaWithRawResponseAlphaWithStreamingResponseAsyncAlphaWithStreamingResponse)CheckpointsAsyncCheckpointsCheckpointsWithRawResponseAsyncCheckpointsWithRawResponse CheckpointsWithStreamingResponse%AsyncCheckpointsWithStreamingResponse
FineTuningAsyncFineTuningc                  f    e Zd Zedd       Zedd       Zed	d       Zed
d       Zedd       Zy)r   c                ,    t        | j                        S zIManage fine-tuning jobs to tailor a model to your specific training data.)r   _clientselfs    Z/opt/pipecat/venv/lib/python3.12/site-packages/openai/resources/fine_tuning/fine_tuning.pyjobszFineTuning.jobs$   s     DLL!!    c                ,    t        | j                        S N)r   r    r!   s    r#   checkpointszFineTuning.checkpoints)   s    4<<((r%   c                ,    t        | j                        S r'   )r   r    r!   s    r#   alphazFineTuning.alpha-   s    T\\""r%   c                    t        |       S a  
        This property can be used as a prefix for any HTTP method call to return
        the raw response object instead of the parsed content.

        For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
        )FineTuningWithRawResponser!   s    r#   with_raw_responsezFineTuning.with_raw_response1   s     )..r%   c                    t        |       S z
        An alternative to `.with_raw_response` that doesn't eagerly read the response body.

        For more information, see https://www.github.com/openai/openai-python#with_streaming_response
        )FineTuningWithStreamingResponser!   s    r#   with_streaming_responsez"FineTuning.with_streaming_response;   s     /t44r%   N)returnr   )r3   r   )r3   r   )r3   r-   )r3   r1   	__name__
__module____qualname__r   r$   r(   r*   r.   r2    r%   r#   r   r   #   sd    " " ) ) # # / / 5 5r%   c                  f    e Zd Zedd       Zedd       Zed	d       Zed
d       Zedd       Zy)r   c                ,    t        | j                        S r   )r   r    r!   s    r#   r$   zAsyncFineTuning.jobsF   s     &&r%   c                ,    t        | j                        S r'   )r   r    r!   s    r#   r(   zAsyncFineTuning.checkpointsK   s    --r%   c                ,    t        | j                        S r'   )r   r    r!   s    r#   r*   zAsyncFineTuning.alphaO   s    $,,''r%   c                    t        |       S r,   )AsyncFineTuningWithRawResponser!   s    r#   r.   z!AsyncFineTuning.with_raw_responseS   s     .d33r%   c                    t        |       S r0   )$AsyncFineTuningWithStreamingResponser!   s    r#   r2   z'AsyncFineTuning.with_streaming_response]   s     4D99r%   N)r3   r   )r3   r   )r3   r   )r3   r>   )r3   r@   r4   r8   r%   r#   r   r   E   sd    ' ' . . ( ( 4 4 : :r%   c                  J    e Zd ZddZedd       Zedd       Zed	d       Zy)
r-   c                    || _         y r'   _fine_tuningr"   fine_tunings     r#   __init__z"FineTuningWithRawResponse.__init__h   
    'r%   c                @    t        | j                  j                        S r   )r	   rD   r$   r!   s    r#   r$   zFineTuningWithRawResponse.jobsk   s     #4#4#4#9#9::r%   c                @    t        | j                  j                        S r'   )r   rD   r(   r!   s    r#   r(   z%FineTuningWithRawResponse.checkpointsp   s    )$*;*;*G*GHHr%   c                @    t        | j                  j                        S r'   )r   rD   r*   r!   s    r#   r*   zFineTuningWithRawResponse.alphat   s    #D$5$5$;$;<<r%   NrF   r   r3   None)r3   r	   )r3   r   )r3   r   r5   r6   r7   rG   r   r$   r(   r*   r8   r%   r#   r-   r-   g   sE    ( ; ; I I = =r%   r-   c                  J    e Zd ZddZedd       Zedd       Zed	d       Zy)
r>   c                    || _         y r'   rC   rE   s     r#   rG   z'AsyncFineTuningWithRawResponse.__init__z   rH   r%   c                @    t        | j                  j                        S r   )r
   rD   r$   r!   s    r#   r$   z#AsyncFineTuningWithRawResponse.jobs}   s     ((9(9(>(>??r%   c                @    t        | j                  j                        S r'   )r   rD   r(   r!   s    r#   r(   z*AsyncFineTuningWithRawResponse.checkpoints   s    .t/@/@/L/LMMr%   c                @    t        | j                  j                        S r'   )r   rD   r*   r!   s    r#   r*   z$AsyncFineTuningWithRawResponse.alpha   s    ():):)@)@AAr%   NrF   r   r3   rM   )r3   r
   )r3   r   )r3   r   rN   r8   r%   r#   r>   r>   y   sI    ( @ @ N N B Br%   r>   c                  J    e Zd ZddZedd       Zedd       Zed	d       Zy)
r1   c                    || _         y r'   rC   rE   s     r#   rG   z(FineTuningWithStreamingResponse.__init__   rH   r%   c                @    t        | j                  j                        S r   )r   rD   r$   r!   s    r#   r$   z$FineTuningWithStreamingResponse.jobs   s     )):):)?)?@@r%   c                @    t        | j                  j                        S r'   )r   rD   r(   r!   s    r#   r(   z+FineTuningWithStreamingResponse.checkpoints   s    /0A0A0M0MNNr%   c                @    t        | j                  j                        S r'   )r   rD   r*   r!   s    r#   r*   z%FineTuningWithStreamingResponse.alpha   s    )$*;*;*A*ABBr%   NrL   )r3   r   )r3   r   )r3   r   rN   r8   r%   r#   r1   r1      sI    ( A A O O C Cr%   r1   c                  J    e Zd ZddZedd       Zedd       Zed	d       Zy)
r@   c                    || _         y r'   rC   rE   s     r#   rG   z-AsyncFineTuningWithStreamingResponse.__init__   rH   r%   c                @    t        | j                  j                        S r   )r   rD   r$   r!   s    r#   r$   z)AsyncFineTuningWithStreamingResponse.jobs   s     .d.?.?.D.DEEr%   c                @    t        | j                  j                        S r'   )r   rD   r(   r!   s    r#   r(   z0AsyncFineTuningWithStreamingResponse.checkpoints   s    4T5F5F5R5RSSr%   c                @    t        | j                  j                        S r'   )r   rD   r*   r!   s    r#   r*   z*AsyncFineTuningWithStreamingResponse.alpha   s    .t/@/@/F/FGGr%   NrT   )r3   r   )r3   r   )r3   r   rN   r8   r%   r#   r@   r@      sI    ( F F T T H Hr%   r@   N)#
__future__r   _compatr   	jobs.jobsr   r   r	   r
   r   r   	_resourcer   r   alpha.alphar   r   r   r   r   r   checkpoints.checkpointsr   r   r   r   r   r   __all__r   r   r-   r>   r1   r@   r8   r%   r#   <module>rf      s    # &  ;   *
+5 5D:& :D= =$B B$C C$H Hr%   