
    	h"                    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 N)r   _clientselfs    u/var/www/html/web-builder-api.evdpl.com/venv/lib/python3.11/site-packages/openai/resources/fine_tuning/fine_tuning.pyjobszFineTuning.jobs$   s    DL!!!    r   c                *    t          | j                  S r    )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_response0   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
        )r/   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   r/   	__name__
__module____qualname__r   r%   r(   r*   r.   r2    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.jobsE   s    &&&r&   r   c                *    t          | j                  S r    )r   r!   r"   s    r$   r(   zAsyncFineTuning.checkpointsI   s    ---r&   r   c                *    t          | j                  S r    )r   r!   r"   s    r$   r*   zAsyncFineTuning.alphaM   s    $,'''r&   AsyncFineTuningWithRawResponsec                     t          |           S r-   )r<   r"   s    r$   r.   z!AsyncFineTuning.with_raw_responseQ   s     .d333r&   $AsyncFineTuningWithStreamingResponsec                     t          |           S r1   )r>   r"   s    r$   r2   z'AsyncFineTuning.with_streaming_response[   s     4D999r&   N)r   r   )r   r   )r   r   )r   r<   )r   r>   r3   r7   r&   r$   r   r   D   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#   rA   s     r$   __init__z"FineTuningWithRawResponse.__init__f       'r&   r	   c                4    t          | j        j                  S r    )r	   rE   r%   r"   s    r$   r%   zFineTuningWithRawResponse.jobsi   s    "4#4#9:::r&   r   c                4    t          | j        j                  S r    )r   rE   r(   r"   s    r$   r(   z%FineTuningWithRawResponse.checkpointsm   s    )$*;*GHHHr&   r   c                4    t          | j        j                  S r    )r   rE   r*   r"   s    r$   r*   zFineTuningWithRawResponse.alphaq   s    #D$5$;<<<r&   NrA   r   r   rB   )r   r	   )r   r   )r   r   r4   r5   r6   rG   r   r%   r(   r*   r7   r&   r$   r+   r+   e   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<   rA   r   r   rB   c                    || _         d S r    rD   rF   s     r$   rG   z'AsyncFineTuningWithRawResponse.__init__w   rH   r&   r
   c                4    t          | j        j                  S r    )r
   rE   r%   r"   s    r$   r%   z#AsyncFineTuningWithRawResponse.jobsz   s    '(9(>???r&   r   c                4    t          | j        j                  S r    )r   rE   r(   r"   s    r$   r(   z*AsyncFineTuningWithRawResponse.checkpoints~   s    .t/@/LMMMr&   r   c                4    t          | j        j                  S r    )r   rE   r*   r"   s    r$   r*   z$AsyncFineTuningWithRawResponse.alpha   s    ():)@AAAr&   NrA   r   r   rB   )r   r
   )r   r   )r   r   rM   r7   r&   r$   r<   r<   v   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 )r/   rA   r   r   rB   c                    || _         d S r    rD   rF   s     r$   rG   z(FineTuningWithStreamingResponse.__init__   rH   r&   r   c                4    t          | j        j                  S r    )r   rE   r%   r"   s    r$   r%   z$FineTuningWithStreamingResponse.jobs   s    ():)?@@@r&   r   c                4    t          | j        j                  S r    )r   rE   r(   r"   s    r$   r(   z+FineTuningWithStreamingResponse.checkpoints   s    /0A0MNNNr&   r   c                4    t          | j        j                  S r    )r   rE   r*   r"   s    r$   r*   z%FineTuningWithStreamingResponse.alpha   s    )$*;*ABBBr&   NrL   )r   r   )r   r   )r   r   rM   r7   r&   r$   r/   r/      s        ( ( ( ( A A A _A O O O _O C C C _C C C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>   rA   r   r   rB   c                    || _         d S r    rD   rF   s     r$   rG   z-AsyncFineTuningWithStreamingResponse.__init__   rH   r&   r   c                4    t          | j        j                  S r    )r   rE   r%   r"   s    r$   r%   z)AsyncFineTuningWithStreamingResponse.jobs   s    -d.?.DEEEr&   r   c                4    t          | j        j                  S r    )r   rE   r(   r"   s    r$   r(   z0AsyncFineTuningWithStreamingResponse.checkpoints   s    4T5F5RSSSr&   r   c                4    t          | j        j                  S r    )r   rE   r*   r"   s    r$   r*   z*AsyncFineTuningWithStreamingResponse.alpha   s    .t/@/FGGGr&   NrS   )r   r   )r   r   )r   r   rM   r7   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<   r/   r>   r7   r&   r$   <module>re      s]   # " " " " " & & & & & &                ; : : : : : : :                               *
+5 5 5 5 5 5 5 5B: : : : :& : : :B= = = = = = = ="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&   