o
    i2                     @  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 zIManage fine-tuning jobs to tailor a model to your specific training data.)r   _clientself r#   b/home/kim/smarthome/.venv/lib/python3.10/site-packages/openai/resources/fine_tuning/fine_tuning.pyjobs$      
zFineTuning.jobsr   c                 C  r   N)r   r    r!   r#   r#   r$   checkpoints)      
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_response1      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
        )r0   r!   r#   r#   r$   with_streaming_response;      z"FineTuning.with_streaming_responseN)r   r   )r   r   )r   r   )r   r+   )r   r0   	__name__
__module____qualname__r   r%   r(   r*   r.   r2   r#   r#   r#   r$   r   #       	c                   @  r   )r   r   r   c                 C  r   r   )r   r    r!   r#   r#   r$   r%   F   r&   zAsyncFineTuning.jobsr   c                 C  r   r'   )r   r    r!   r#   r#   r$   r(   K   r)   zAsyncFineTuning.checkpointsr   c                 C  r   r'   )r   r    r!   r#   r#   r$   r*   O   r)   zAsyncFineTuning.alphaAsyncFineTuningWithRawResponsec                 C  r,   r-   )r9   r!   r#   r#   r$   r.   S   r/   z!AsyncFineTuning.with_raw_response$AsyncFineTuningWithStreamingResponsec                 C  r,   r1   )r:   r!   r#   r#   r$   r2   ]   r3   z'AsyncFineTuning.with_streaming_responseN)r   r   )r   r   )r   r   )r   r9   )r   r:   r4   r#   r#   r#   r$   r   E   r8   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__h      
z"FineTuningWithRawResponse.__init__r   c                 C     t | jjS r   )r   r@   r%   r!   r#   r#   r$   r%   k      zFineTuningWithRawResponse.jobsr   c                 C  rD   r'   )r   r@   r(   r!   r#   r#   r$   r(   p      z%FineTuningWithRawResponse.checkpointsr   c                 C  rD   r'   )r   r@   r*   r!   r#   r#   r$   r*   t   rF   zFineTuningWithRawResponse.alphaNr<   r   r   r=   )r   r   )r   r   )r   r   r5   r6   r7   rB   r   r%   r(   r*   r#   r#   r#   r$   r+   g       
r+   c                   @  r;   )r9   r<   r   r   r=   c                 C  r>   r'   r?   rA   r#   r#   r$   rB   z   rC   z'AsyncFineTuningWithRawResponse.__init__r	   c                 C  rD   r   )r	   r@   r%   r!   r#   r#   r$   r%   }   rE   z#AsyncFineTuningWithRawResponse.jobsr   c                 C  rD   r'   )r   r@   r(   r!   r#   r#   r$   r(      rF   z*AsyncFineTuningWithRawResponse.checkpointsr   c                 C  rD   r'   )r   r@   r*   r!   r#   r#   r$   r*      rF   z$AsyncFineTuningWithRawResponse.alphaNr<   r   r   r=   )r   r	   )r   r   )r   r   rH   r#   r#   r#   r$   r9   y   rI   r9   c                   @  r;   )r0   r<   r   r   r=   c                 C  r>   r'   r?   rA   r#   r#   r$   rB      rC   z(FineTuningWithStreamingResponse.__init__r
   c                 C  rD   r   )r
   r@   r%   r!   r#   r#   r$   r%      rE   z$FineTuningWithStreamingResponse.jobsr   c                 C  rD   r'   )r   r@   r(   r!   r#   r#   r$   r(      rF   z+FineTuningWithStreamingResponse.checkpointsr   c                 C  rD   r'   )r   r@   r*   r!   r#   r#   r$   r*      rF   z%FineTuningWithStreamingResponse.alphaNrG   )r   r
   )r   r   )r   r   rH   r#   r#   r#   r$   r0      rI   r0   c                   @  r;   )r:   r<   r   r   r=   c                 C  r>   r'   r?   rA   r#   r#   r$   rB      rC   z-AsyncFineTuningWithStreamingResponse.__init__r   c                 C  rD   r   )r   r@   r%   r!   r#   r#   r$   r%      rE   z)AsyncFineTuningWithStreamingResponse.jobsr   c                 C  rD   r'   )r   r@   r(   r!   r#   r#   r$   r(      rF   z0AsyncFineTuningWithStreamingResponse.checkpointsr   c                 C  rD   r'   )r   r@   r*   r!   r#   r#   r$   r*      rF   z*AsyncFineTuningWithStreamingResponse.alphaNrJ   )r   r   )r   r   )r   r   rH   r#   r#   r#   r$   r:      rI   r:   N)#
__future__r   Z_compatr   Z	jobs.jobsr   r   r   r	   r
   r   Z	_resourcer   r   Zalpha.alphar   r   r   r   r   r   Zcheckpoints.checkpointsr   r   r   r   r   r   __all__r   r   r+   r9   r0   r:   r#   r#   r#   r$   <module>   s      	""