o
    $i"                     @  s   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	 d	eZG dd
 d
eZG dd dZG dd dZ G dd dZ!G d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                   @  R   e Zd ZedddZedddZedd	d
ZedddZedddZdS )r   returnr   c                 C  
   t | jS N)r   _clientself r#   h/var/www/html/flask_server/venv/lib/python3.10/site-packages/openai/resources/fine_tuning/fine_tuning.pyjobs$      
zFineTuning.jobsr   c                 C  r   r   )r   r    r!   r#   r#   r$   checkpoints(   r&   zFineTuning.checkpointsr   c                 C  r   r   )r   r    r!   r#   r#   r$   alpha,   r&   zFineTuning.alphaFineTuningWithRawResponsec                 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
        )r)   r!   r#   r#   r$   with_raw_response0      zFineTuning.with_raw_responseFineTuningWithStreamingResponsec                 C  r*   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!   r#   r#   r$   with_streaming_response:      z"FineTuning.with_streaming_responseN)r   r   )r   r   )r   r   )r   r)   )r   r.   	__name__
__module____qualname__r   r%   r'   r(   r,   r0   r#   r#   r#   r$   r   #       	c                   @  r   )r   r   r   c                 C  r   r   )r   r    r!   r#   r#   r$   r%   E   r&   zAsyncFineTuning.jobsr   c                 C  r   r   )r   r    r!   r#   r#   r$   r'   I   r&   zAsyncFineTuning.checkpointsr   c                 C  r   r   )r   r    r!   r#   r#   r$   r(   M   r&   zAsyncFineTuning.alphaAsyncFineTuningWithRawResponsec                 C  r*   r+   )r7   r!   r#   r#   r$   r,   Q   r-   z!AsyncFineTuning.with_raw_response$AsyncFineTuningWithStreamingResponsec                 C  r*   r/   )r8   r!   r#   r#   r$   r0   [   r1   z'AsyncFineTuning.with_streaming_responseN)r   r   )r   r   )r   r   )r   r7   )r   r8   r2   r#   r#   r#   r$   r   D   r6   c                   @  @   e Zd ZdddZeddd	ZedddZedddZdS )r)   fine_tuningr   r   Nonec                 C  
   || _ d S r   _fine_tuningr"   r:   r#   r#   r$   __init__f      
z"FineTuningWithRawResponse.__init__r   c                 C     t | jjS r   )r   r>   r%   r!   r#   r#   r$   r%   i      zFineTuningWithRawResponse.jobsr   c                 C  rB   r   )r   r>   r'   r!   r#   r#   r$   r'   m   rC   z%FineTuningWithRawResponse.checkpointsr   c                 C  rB   r   )r   r>   r(   r!   r#   r#   r$   r(   q   rC   zFineTuningWithRawResponse.alphaNr:   r   r   r;   )r   r   )r   r   )r   r   r3   r4   r5   r@   r   r%   r'   r(   r#   r#   r#   r$   r)   e       
r)   c                   @  r9   )r7   r:   r   r   r;   c                 C  r<   r   r=   r?   r#   r#   r$   r@   w   rA   z'AsyncFineTuningWithRawResponse.__init__r	   c                 C  rB   r   )r	   r>   r%   r!   r#   r#   r$   r%   z   rC   z#AsyncFineTuningWithRawResponse.jobsr   c                 C  rB   r   )r   r>   r'   r!   r#   r#   r$   r'   ~   rC   z*AsyncFineTuningWithRawResponse.checkpointsr   c                 C  rB   r   )r   r>   r(   r!   r#   r#   r$   r(      rC   z$AsyncFineTuningWithRawResponse.alphaNr:   r   r   r;   )r   r	   )r   r   )r   r   rE   r#   r#   r#   r$   r7   v   rF   r7   c                   @  r9   )r.   r:   r   r   r;   c                 C  r<   r   r=   r?   r#   r#   r$   r@      rA   z(FineTuningWithStreamingResponse.__init__r
   c                 C  rB   r   )r
   r>   r%   r!   r#   r#   r$   r%      rC   z$FineTuningWithStreamingResponse.jobsr   c                 C  rB   r   )r   r>   r'   r!   r#   r#   r$   r'      rC   z+FineTuningWithStreamingResponse.checkpointsr   c                 C  rB   r   )r   r>   r(   r!   r#   r#   r$   r(      rC   z%FineTuningWithStreamingResponse.alphaNrD   )r   r
   )r   r   )r   r   rE   r#   r#   r#   r$   r.      rF   r.   c                   @  r9   )r8   r:   r   r   r;   c                 C  r<   r   r=   r?   r#   r#   r$   r@      rA   z-AsyncFineTuningWithStreamingResponse.__init__r   c                 C  rB   r   )r   r>   r%   r!   r#   r#   r$   r%      rC   z)AsyncFineTuningWithStreamingResponse.jobsr   c                 C  rB   r   )r   r>   r'   r!   r#   r#   r$   r'      rC   z0AsyncFineTuningWithStreamingResponse.checkpointsr   c                 C  rB   r   )r   r>   r(   r!   r#   r#   r$   r(      rC   z*AsyncFineTuningWithStreamingResponse.alphaNrG   )r   r   )r   r   )r   r   rE   r#   r#   r#   r$   r8      rF   r8   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)   r7   r.   r8   r#   r#   r#   r$   <module>   s      	!!