
    2i2                    6   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"dS )    )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                      e Zd Zedd            Zedd            Zedd            Zedd	            Zedd            ZdS )r   returnr   c                *    t          | j                  S zIManage fine-tuning jobs to tailor a model to your specific training data.)r   _clientselfs    o/root/.openclaw/workspace/.venv-openai/lib/python3.11/site-packages/openai/resources/fine_tuning/fine_tuning.pyjobszFineTuning.jobs$   s     DL!!!    r   c                *    t          | j                  S N)r   r!   r"   s    r$   checkpointszFineTuning.checkpoints)   s    4<(((r&   r   c                *    t          | j                  S r(   )r   r!   r"   s    r$   alphazFineTuning.alpha-   s    T\"""r&   FineTuningWithRawResponsec                     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
        )r,   r"   s    r$   with_raw_responsezFineTuning.with_raw_response1   s     )...r&   FineTuningWithStreamingResponsec                     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
        )r0   r"   s    r$   with_streaming_responsez"FineTuning.with_streaming_response;   s     /t444r&   N)r   r   )r   r   )r   r   )r   r,   )r   r0   	__name__
__module____qualname__r   r%   r)   r+   r/   r3    r&   r$   r   r   #   s        " " " _" ) ) ) _) # # # _# / / / _/ 5 5 5 _5 5 5r&   c                      e Zd Zedd            Zedd            Zedd            Zedd	            Zedd            ZdS )r   r   r   c                *    t          | j                  S r    )r   r!   r"   s    r$   r%   zAsyncFineTuning.jobsF   s     &&&r&   r   c                *    t          | j                  S r(   )r   r!   r"   s    r$   r)   zAsyncFineTuning.checkpointsK   s    ---r&   r   c                *    t          | j                  S r(   )r   r!   r"   s    r$   r+   zAsyncFineTuning.alphaO   s    $,'''r&   AsyncFineTuningWithRawResponsec                     t          |           S r.   )r=   r"   s    r$   r/   z!AsyncFineTuning.with_raw_responseS   s     .d333r&   $AsyncFineTuningWithStreamingResponsec                     t          |           S r2   )r?   r"   s    r$   r3   z'AsyncFineTuning.with_streaming_response]   s     4D999r&   N)r   r   )r   r   )r   r   )r   r=   )r   r?   r4   r8   r&   r$   r   r   E   s        ' ' ' _' . . . _. ( ( ( _( 4 4 4 _4 : : : _: : :r&   c                  ^    e Zd ZddZedd            Zedd	            Zedd            ZdS )r,   fine_tuningr   r   Nonec                    || _         d S r(   _fine_tuningr#   rB   s     r$   __init__z"FineTuningWithRawResponse.__init__h       'r&   r	   c                4    t          | j        j                  S r    )r	   rF   r%   r"   s    r$   r%   zFineTuningWithRawResponse.jobsk   s     #4#4#9:::r&   r   c                4    t          | j        j                  S r(   )r   rF   r)   r"   s    r$   r)   z%FineTuningWithRawResponse.checkpointsp   s    )$*;*GHHHr&   r   c                4    t          | j        j                  S r(   )r   rF   r+   r"   s    r$   r+   zFineTuningWithRawResponse.alphat   s    #D$5$;<<<r&   NrB   r   r   rC   )r   r	   )r   r   )r   r   r5   r6   r7   rH   r   r%   r)   r+   r8   r&   r$   r,   r,   g   s        ( ( ( ( ; ; ; _; I I I _I = = = _= = =r&   r,   c                  ^    e Zd ZddZedd            Zedd	            Zedd            ZdS )r=   rB   r   r   rC   c                    || _         d S r(   rE   rG   s     r$   rH   z'AsyncFineTuningWithRawResponse.__init__z   rI   r&   r
   c                4    t          | j        j                  S r    )r
   rF   r%   r"   s    r$   r%   z#AsyncFineTuningWithRawResponse.jobs}   s     ((9(>???r&   r   c                4    t          | j        j                  S r(   )r   rF   r)   r"   s    r$   r)   z*AsyncFineTuningWithRawResponse.checkpoints   s    .t/@/LMMMr&   r   c                4    t          | j        j                  S r(   )r   rF   r+   r"   s    r$   r+   z$AsyncFineTuningWithRawResponse.alpha   s    ():)@AAAr&   NrB   r   r   rC   )r   r
   )r   r   )r   r   rN   r8   r&   r$   r=   r=   y   s        ( ( ( ( @ @ @ _@ N N N _N B B B _B B Br&   r=   c                  ^    e Zd ZddZedd            Zedd	            Zedd            ZdS )r0   rB   r   r   rC   c                    || _         d S r(   rE   rG   s     r$   rH   z(FineTuningWithStreamingResponse.__init__   rI   r&   r   c                4    t          | j        j                  S r    )r   rF   r%   r"   s    r$   r%   z$FineTuningWithStreamingResponse.jobs   s     )):)?@@@r&   r   c                4    t          | j        j                  S r(   )r   rF   r)   r"   s    r$   r)   z+FineTuningWithStreamingResponse.checkpoints   s    /0A0MNNNr&   r   c                4    t          | j        j                  S r(   )r   rF   r+   r"   s    r$   r+   z%FineTuningWithStreamingResponse.alpha   s    )$*;*ABBBr&   NrM   )r   r   )r   r   )r   r   rN   r8   r&   r$   r0   r0      s        ( ( ( ( A A A _A O O O _O C C C _C C Cr&   r0   c                  ^    e Zd ZddZedd            Zedd	            Zedd            ZdS )r?   rB   r   r   rC   c                    || _         d S r(   rE   rG   s     r$   rH   z-AsyncFineTuningWithStreamingResponse.__init__   rI   r&   r   c                4    t          | j        j                  S r    )r   rF   r%   r"   s    r$   r%   z)AsyncFineTuningWithStreamingResponse.jobs   s     .d.?.DEEEr&   r   c                4    t          | j        j                  S r(   )r   rF   r)   r"   s    r$   r)   z0AsyncFineTuningWithStreamingResponse.checkpoints   s    4T5F5RSSSr&   r   c                4    t          | j        j                  S r(   )r   rF   r+   r"   s    r$   r+   z*AsyncFineTuningWithStreamingResponse.alpha   s    .t/@/FGGGr&   NrT   )r   r   )r   r   )r   r   rN   r8   r&   r$   r?   r?      s        ( ( ( ( F F F _F T T T _T H H H _H 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=   r0   r?   r8   r&   r$   <module>rf      s]   # " " " " " & & & & & &                ; : : : : : : :                               *
+5 5 5 5 5 5 5 5D: : : : :& : : :D= = = = = = = =$B B B B B B B B$C C C C C C C C$H H H H H H H H H Hr&   