o
    ùT·j1  ã                   @  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#   úk/home/dinkstrade/pdmp-scanner/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   Ú_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+   r9   r0   r:   r#   r#   r#   r$   Ú<module>   s      	""