a
    ç‚Äfj	  ã                   @  s¼   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
 ddlmZmZ ddl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é   )ÚJobsÚ	AsyncJobsÚJobsWithRawResponseÚAsyncJobsWithRawResponseÚJobsWithStreamingResponseÚAsyncJobsWithStreamingResponseé   )Úcached_property)r   r   )ÚSyncAPIResourceÚAsyncAPIResourceÚ
FineTuningÚAsyncFineTuningc                   @  sB   e Zd Zeddœdd„ƒZeddœdd„ƒZeddœd	d
„ƒZdS )r   r   ©Úreturnc                 C  s
   t | jƒS ©N)r   Ú_client©Úself© r   úa/var/www/ai-form-bot/venv/lib/python3.9/site-packages/openai/resources/fine_tuning/fine_tuning.pyÚjobs   s    zFineTuning.jobsÚFineTuningWithRawResponsec                 C  s   t | ƒS r   )r   r   r   r   r   Úwith_raw_response   s    zFineTuning.with_raw_responseÚFineTuningWithStreamingResponsec                 C  s   t | ƒS r   )r   r   r   r   r   Úwith_streaming_response   s    z"FineTuning.with_streaming_responseN©Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   r   r   r      s   c                   @  sB   e Zd Zeddœdd„ƒZeddœdd„ƒZeddœd	d
„ƒZdS )r   r   r   c                 C  s
   t | jƒS r   )r   r   r   r   r   r   r   #   s    zAsyncFineTuning.jobsÚAsyncFineTuningWithRawResponsec                 C  s   t | ƒS r   )r!   r   r   r   r   r   '   s    z!AsyncFineTuning.with_raw_responseÚ$AsyncFineTuningWithStreamingResponsec                 C  s   t | ƒS r   )r"   r   r   r   r   r   +   s    z'AsyncFineTuning.with_streaming_responseNr   r   r   r   r   r   "   s   c                   @  s.   e Zd Zdddœdd„Zeddœdd	„ƒZd
S )r   r   ÚNone©Úfine_tuningr   c                 C  s
   || _ d S r   ©Ú_fine_tuning©r   r%   r   r   r   Ú__init__1   s    z"FineTuningWithRawResponse.__init__r   r   c                 C  s   t | jjƒS r   )r   r'   r   r   r   r   r   r   4   s    zFineTuningWithRawResponse.jobsN©r   r   r    r)   r   r   r   r   r   r   r   0   s   r   c                   @  s.   e Zd Zdddœdd„Zeddœdd	„ƒZd
S )r!   r   r#   r$   c                 C  s
   || _ d S r   r&   r(   r   r   r   r)   :   s    z'AsyncFineTuningWithRawResponse.__init__r   r   c                 C  s   t | jjƒS r   )r   r'   r   r   r   r   r   r   =   s    z#AsyncFineTuningWithRawResponse.jobsNr*   r   r   r   r   r!   9   s   r!   c                   @  s.   e Zd Zdddœdd„Zeddœdd	„ƒZd
S )r   r   r#   r$   c                 C  s
   || _ d S r   r&   r(   r   r   r   r)   C   s    z(FineTuningWithStreamingResponse.__init__r   r   c                 C  s   t | jjƒS r   )r   r'   r   r   r   r   r   r   F   s    z$FineTuningWithStreamingResponse.jobsNr*   r   r   r   r   r   B   s   r   c                   @  s.   e Zd Zdddœdd„Zeddœdd	„ƒZd
S )r"   r   r#   r$   c                 C  s
   || _ d S r   r&   r(   r   r   r   r)   L   s    z-AsyncFineTuningWithStreamingResponse.__init__r	   r   c                 C  s   t | jjƒS r   )r	   r'   r   r   r   r   r   r   O   s    z)AsyncFineTuningWithStreamingResponse.jobsNr*   r   r   r   r   r"   K   s   r"   N)Ú
__future__r   r   r   r   r   r   r   r	   Ú_compatr   Z	jobs.jobsZ	_resourcer   r   Ú__all__r   r   r   r!   r   r"   r   r   r   r   Ú<module>   s    			