Ë
    Ìi„•  ã                  ó¨  — d dl mZ d dlmZmZmZmZ d dlmZ d dl	Z	ddl
mZ ddlmZmZmZmZmZmZmZ ddlmZmZ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& ddl'm(Z(m)Z) ddl*m+Z+m,Z, ddl-m.Z.m/Z/m0Z0 ddl1m2Z2 ddl3m4Z4 ddl5m6Z6 ddgZ7 G d„ de"«      Z8 G d„ de#«      Z9 G d„ d«      Z: G d„ d«      Z; G d„ d«      Z< G d„ d«      Z=y) é    )Úannotations)ÚDictÚUnionÚIterableÚOptional)ÚLiteralNé   )Ú_legacy_response)ÚBodyÚOmitÚQueryÚHeadersÚNotGivenÚomitÚ	not_given)Úpath_templateÚmaybe_transformÚasync_maybe_transform)Úcached_propertyé   )ÚCheckpointsÚAsyncCheckpointsÚCheckpointsWithRawResponseÚAsyncCheckpointsWithRawResponseÚ CheckpointsWithStreamingResponseÚ%AsyncCheckpointsWithStreamingResponse)ÚSyncAPIResourceÚAsyncAPIResource)Úto_streamed_response_wrapperÚ"async_to_streamed_response_wrapper)ÚSyncCursorPageÚAsyncCursorPage)ÚAsyncPaginatorÚmake_request_options)Újob_list_paramsÚjob_create_paramsÚjob_list_events_params)ÚMetadata)ÚFineTuningJob)ÚFineTuningJobEventÚJobsÚ	AsyncJobsc                  ó´  — e Zd ZdZedd„«       Zedd„«       Zedd„«       Zeeeeeeeddde	dœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Z
ddde	dœ	 	 	 	 	 	 	 	 	 	 	 dd	„Zeeeddde	d
œ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Zddde	dœ	 	 	 	 	 	 	 	 	 	 	 dd„Zeeddde	dœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Zddde	dœ	 	 	 	 	 	 	 	 	 	 	 dd„Zddde	dœ	 	 	 	 	 	 	 	 	 	 	 dd„Zy)r+   úIManage fine-tuning jobs to tailor a model to your specific training data.c                ó,   — t        | j                  «      S ©r.   )r   Ú_client©Úselfs    úg/var/www/html/strategist-ai/venv/lib/python3.12/site-packages/openai/resources/fine_tuning/jobs/jobs.pyÚcheckpointszJobs.checkpoints(   s   € ô ˜4Ÿ<™<Ó(Ð(ó    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
        )ÚJobsWithRawResponser2   s    r4   Úwith_raw_responsezJobs.with_raw_response-   s   € ô # 4Ó(Ð(r6   c                ó   — 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
        )ÚJobsWithStreamingResponser2   s    r4   Úwith_streaming_responsezJobs.with_streaming_response7   s   € ô )¨Ó.Ð.r6   N©ÚhyperparametersÚintegrationsÚmetadataÚmethodÚseedÚsuffixÚvalidation_fileÚextra_headersÚextra_queryÚ
extra_bodyÚtimeoutc               ó’   — | j                  dt        |||||||||	dœ	t        j                  «      t	        |
|||¬«      t
        ¬«      S )á¹  
        Creates a fine-tuning job which begins the process of creating a new model from
        a given dataset.

        Response includes details of the enqueued job including job status and the name
        of the fine-tuned models once complete.

        [Learn more about fine-tuning](https://platform.openai.com/docs/guides/model-optimization)

        Args:
          model: The name of the model to fine-tune. You can select one of the
              [supported models](https://platform.openai.com/docs/guides/fine-tuning#which-models-can-be-fine-tuned).

          training_file: The ID of an uploaded file that contains training data.

              See [upload file](https://platform.openai.com/docs/api-reference/files/create)
              for how to upload a file.

              Your dataset must be formatted as a JSONL file. Additionally, you must upload
              your file with the purpose `fine-tune`.

              The contents of the file should differ depending on if the model uses the
              [chat](https://platform.openai.com/docs/api-reference/fine-tuning/chat-input),
              [completions](https://platform.openai.com/docs/api-reference/fine-tuning/completions-input)
              format, or if the fine-tuning method uses the
              [preference](https://platform.openai.com/docs/api-reference/fine-tuning/preference-input)
              format.

              See the
              [fine-tuning guide](https://platform.openai.com/docs/guides/model-optimization)
              for more details.

          hyperparameters: The hyperparameters used for the fine-tuning job. This value is now deprecated
              in favor of `method`, and should be passed in under the `method` parameter.

          integrations: A list of integrations to enable for your fine-tuning job.

          metadata: Set of 16 key-value pairs that can be attached to an object. This can be useful
              for storing additional information about the object in a structured format, and
              querying for objects via API or the dashboard.

              Keys are strings with a maximum length of 64 characters. Values are strings with
              a maximum length of 512 characters.

          method: The method used for fine-tuning.

          seed: The seed controls the reproducibility of the job. Passing in the same seed and
              job parameters should produce the same results, but may differ in rare cases. If
              a seed is not specified, one will be generated for you.

          suffix: A string of up to 64 characters that will be added to your fine-tuned model
              name.

              For example, a `suffix` of "custom-model-name" would produce a model name like
              `ft:gpt-4o-mini:openai:custom-model-name:7p4lURel`.

          validation_file: The ID of an uploaded file that contains validation data.

              If you provide this file, the data is used to generate validation metrics
              periodically during fine-tuning. These metrics can be viewed in the fine-tuning
              results file. The same data should not be present in both train and validation
              files.

              Your dataset must be formatted as a JSONL file. You must upload your file with
              the purpose `fine-tune`.

              See the
              [fine-tuning guide](https://platform.openai.com/docs/guides/model-optimization)
              for more details.

          extra_headers: Send extra headers

          extra_query: Add additional query parameters to the request

          extra_body: Add additional JSON properties to the request

          timeout: Override the client-level default timeout for this request, in seconds
        ú/fine_tuning/jobs©	ÚmodelÚtraining_filer@   rA   rB   rC   rD   rE   rF   ©rG   rH   rI   rJ   ©ÚbodyÚoptionsÚcast_to)Ú_postr   r&   ÚJobCreateParamsr$   r)   ©r3   rO   rP   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   s                 r4   ÚcreatezJobs.create@   sk   € ðB �z‰zØÜ à"Ø%2Ø'6Ø$0Ø (Ø$Ø Ø$Ø'6ñ
ô "×1Ñ1óô )Ø+¸ÐQ[Ðelôô "ð' ó 
ð 	
r6   rQ   c          	     ó‚   — |st        d|›�«      ‚| j                  t        d|¬«      t        ||||¬«      t        ¬«      S )á¹  
        Get info about a fine-tuning job.

        [Learn more about fine-tuning](https://platform.openai.com/docs/guides/model-optimization)

        Args:
          extra_headers: Send extra headers

          extra_query: Add additional query parameters to the request

          extra_body: Add additional JSON properties to the request

          timeout: Override the client-level default timeout for this request, in seconds
        úAExpected a non-empty value for `fine_tuning_job_id` but received ú&/fine_tuning/jobs/{fine_tuning_job_id}©Úfine_tuning_job_idrQ   ©rT   rU   ©Ú
ValueErrorÚ_getr   r$   r)   ©r3   r_   rG   rH   rI   rJ   s         r4   ÚretrievezJobs.retrieve·   sV   € ñ2 "ÜÐ`ÐasÐ`vÐwÓxÐxØ�y‰yÜÐBÐWiÔjÜ(Ø+¸ÐQ[Ðelôô "ð ó 
ð 	
r6   ©ÚafterÚlimitrB   rG   rH   rI   rJ   c               óž   — | j                  dt        t           t        ||||t	        |||dœt
        j                  «      ¬«      t        ¬«      S ©a�  
        List your organization's fine-tuning jobs

        Args:
          after: Identifier for the last job from the previous pagination request.

          limit: Number of fine-tuning jobs to retrieve.

          metadata: Optional metadata filter. To filter, use the syntax `metadata[k]=v`.
              Alternatively, set `metadata=null` to indicate no metadata.

          extra_headers: Send extra headers

          extra_query: Add additional query parameters to the request

          extra_body: Add additional JSON properties to the request

          timeout: Override the client-level default timeout for this request, in seconds
        rM   )rg   rh   rB   ©rG   rH   rI   rJ   Úquery©ÚpagerT   rO   )Ú_get_api_listr!   r)   r$   r   r%   ÚJobListParams©r3   rg   rh   rB   rG   rH   rI   rJ   s           r4   Úlistz	Jobs.listÚ   sb   € ð@ ×!Ñ!ØÜ¤Ñ.Ü(Ø+Ø'Ø%ØÜ%à!&Ø!&Ø$,ñô
 $×1Ñ1óôô  ð# "ó 
ð 	
r6   c          	     ó‚   — |st        d|›�«      ‚| j                  t        d|¬«      t        ||||¬«      t        ¬«      S )áW  
        Immediately cancel a fine-tune job.

        Args:
          extra_headers: Send extra headers

          extra_query: Add additional query parameters to the request

          extra_body: Add additional JSON properties to the request

          timeout: Override the client-level default timeout for this request, in seconds
        r\   ú-/fine_tuning/jobs/{fine_tuning_job_id}/cancelr^   rQ   r`   ©rb   rV   r   r$   r)   rd   s         r4   ÚcancelzJobs.cancel  óV   € ñ. "ÜÐ`ÐasÐ`vÐwÓxÐxØ�z‰zÜÐIÐ^pÔqÜ(Ø+¸ÐQ[Ðelôô "ð ó 
ð 	
r6   ©rg   rh   rG   rH   rI   rJ   c               óÒ   — |st        d|›�«      ‚| j                  t        d|¬«      t        t           t        ||||t        ||dœt        j                  «      ¬«      t        ¬«      S ©aã  
        Get status updates for a fine-tuning job.

        Args:
          after: Identifier for the last event from the previous pagination request.

          limit: Number of events to retrieve.

          extra_headers: Send extra headers

          extra_query: Add additional query parameters to the request

          extra_body: Add additional JSON properties to the request

          timeout: Override the client-level default timeout for this request, in seconds
        r\   z-/fine_tuning/jobs/{fine_tuning_job_id}/eventsr^   )rg   rh   rk   rm   )	rb   ro   r   r!   r*   r$   r   r'   ÚJobListEventsParams©r3   r_   rg   rh   rG   rH   rI   rJ   s           r4   Úlist_eventszJobs.list_events/  s€   € ñ: "ÜÐ`ÐasÐ`vÐwÓxÐxØ×!Ñ!ÜÐIÐ^pÔqÜÔ 2Ñ3Ü(Ø+Ø'Ø%ØÜ%à!&Ø!&ñô +×>Ñ>óôô %ð! "ó 
ð 	
r6   c          	     ó‚   — |st        d|›�«      ‚| j                  t        d|¬«      t        ||||¬«      t        ¬«      S )áJ  
        Pause a fine-tune job.

        Args:
          extra_headers: Send extra headers

          extra_query: Add additional query parameters to the request

          extra_body: Add additional JSON properties to the request

          timeout: Override the client-level default timeout for this request, in seconds
        r\   ú,/fine_tuning/jobs/{fine_tuning_job_id}/pauser^   rQ   r`   rv   rd   s         r4   Úpausez
Jobs.pausea  sV   € ñ. "ÜÐ`ÐasÐ`vÐwÓxÐxØ�z‰zÜÐHÐ]oÔpÜ(Ø+¸ÐQ[Ðelôô "ð ó 
ð 	
r6   c          	     ó‚   — |st        d|›�«      ‚| j                  t        d|¬«      t        ||||¬«      t        ¬«      S )áK  
        Resume a fine-tune job.

        Args:
          extra_headers: Send extra headers

          extra_query: Add additional query parameters to the request

          extra_body: Add additional JSON properties to the request

          timeout: Override the client-level default timeout for this request, in seconds
        r\   ú-/fine_tuning/jobs/{fine_tuning_job_id}/resumer^   rQ   r`   rv   rd   s         r4   ÚresumezJobs.resume‚  rx   r6   )Úreturnr   )r‡   r9   )r‡   r=   ©rO   zQUnion[str, Literal['babbage-002', 'davinci-002', 'gpt-3.5-turbo', 'gpt-4o-mini']]rP   Ústrr@   z(job_create_params.Hyperparameters | OmitrA   z8Optional[Iterable[job_create_params.Integration]] | OmitrB   zOptional[Metadata] | OmitrC   zjob_create_params.Method | OmitrD   zOptional[int] | OmitrE   úOptional[str] | OmitrF   rŠ   rG   úHeaders | NonerH   úQuery | NonerI   úBody | NonerJ   ú'float | httpx.Timeout | None | NotGivenr‡   r)   ©r_   r‰   rG   r‹   rH   rŒ   rI   r�   rJ   rŽ   r‡   r)   )rg   ú
str | Omitrh   ú
int | OmitrB   úOptional[Dict[str, str]] | OmitrG   r‹   rH   rŒ   rI   r�   rJ   rŽ   r‡   zSyncCursorPage[FineTuningJob])r_   r‰   rg   r�   rh   r‘   rG   r‹   rH   rŒ   rI   r�   rJ   rŽ   r‡   z"SyncCursorPage[FineTuningJobEvent]©Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r5   r:   r>   r   r   rY   re   rr   rw   r~   r‚   r†   © r6   r4   r+   r+   %   s  „ ÙSàò)ó ð)ð ò)ó ð)ð ò/ó ð/ð EIØQUØ.2Ø26Ø%)Ø'+Ø04ð )-Ø$(Ø"&Ø;Dñ#u
ð aðu
ð ð	u
ð
 Bðu
ð Oðu
ð ,ðu
ð 0ðu
ð #ðu
ð %ðu
ð .ðu
ð &ðu
ð "ðu
ð   ð!u
ð" 9ð#u
ð$ 
ó%u
ðz )-Ø$(Ø"&Ø;Dñ!
àð!
ð &ð!
ð "ð!
ð  ð!
ð 9ð!
ð 
ó!
ðL !Ø Ø48ð )-Ø$(Ø"&Ø;Dñ2
ð ð2
ð ð	2
ð
 2ð2
ð &ð2
ð "ð2
ð  ð2
ð 9ð2
ð 
'ó2
ðt )-Ø$(Ø"&Ø;Dñ
àð
ð &ð
ð "ð
ð  ð
ð 9ð
ð 
ó
ðJ !Ø ð )-Ø$(Ø"&Ø;Dñ0
àð0
ð ð	0
ð
 ð0
ð &ð0
ð "ð0
ð  ð0
ð 9ð0
ð 
,ó0
ðp )-Ø$(Ø"&Ø;Dñ
àð
ð &ð
ð "ð
ð  ð
ð 9ð
ð 
ó
ðN )-Ø$(Ø"&Ø;Dñ
àð
ð &ð
ð "ð
ð  ð
ð 9ð
ð 
ô
r6   c                  ó´  — e Zd ZdZedd„«       Zedd„«       Zedd„«       Zeeeeeeeddde	dœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Z
ddde	dœ	 	 	 	 	 	 	 	 	 	 	 dd	„Zeeeddde	d
œ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Zddde	dœ	 	 	 	 	 	 	 	 	 	 	 dd„Zeeddde	dœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Zddde	dœ	 	 	 	 	 	 	 	 	 	 	 dd„Zddde	dœ	 	 	 	 	 	 	 	 	 	 	 dd„Zy)r,   r.   c                ó,   — t        | j                  «      S r0   )r   r1   r2   s    r4   r5   zAsyncJobs.checkpoints§  s   € ô   §¡Ó-Ð-r6   c                ó   — t        | «      S r8   )ÚAsyncJobsWithRawResponser2   s    r4   r:   zAsyncJobs.with_raw_response¬  s   € ô (¨Ó-Ð-r6   c                ó   — t        | «      S r<   )ÚAsyncJobsWithStreamingResponser2   s    r4   r>   z!AsyncJobs.with_streaming_response¶  s   € ô .¨dÓ3Ð3r6   Nr?   c             ƒ  óÂ   K  — | j                  dt        |||||||||	dœ	t        j                  «      ƒ d{  –—† t	        |
|||¬«      t
        ¬«      ƒ d{  –—† S 7 Œ$7 Œ­w)rL   rM   rN   NrQ   rR   )rV   r   r&   rW   r$   r)   rX   s                 r4   rY   zAsyncJobs.create¿  s„   è ø€ ðB —Z‘ZØÜ,à"Ø%2Ø'6Ø$0Ø (Ø$Ø Ø$Ø'6ñ
ô "×1Ñ1ó÷ ô )Ø+¸ÐQ[Ðelôô "ð'  ó 
÷ 
ð 	
ðøð
ús!   ‚4A¶A
·AÁAÁAÁArQ   c          	   ƒ  óž   K  — |st        d|›�«      ‚| j                  t        d|¬«      t        ||||¬«      t        ¬«      ƒ d{  –—† S 7 Œ­w)r[   r\   r]   r^   rQ   r`   Nra   rd   s         r4   re   zAsyncJobs.retrieve6  sd   è ø€ ñ2 "ÜÐ`ÐasÐ`vÐwÓxÐxØ—Y‘YÜÐBÐWiÔjÜ(Ø+¸ÐQ[Ðelôô "ð ó 
÷ 
ð 	
ð 
úó   ‚AAÁAÁArf   c               óž   — | j                  dt        t           t        ||||t	        |||dœt
        j                  «      ¬«      t        ¬«      S rj   )ro   r"   r)   r$   r   r%   rp   rq   s           r4   rr   zAsyncJobs.listY  sb   € ð@ ×!Ñ!ØÜ ¤Ñ/Ü(Ø+Ø'Ø%ØÜ%à!&Ø!&Ø$,ñô
 $×1Ñ1óôô  ð# "ó 
ð 	
r6   c          	   ƒ  óž   K  — |st        d|›�«      ‚| j                  t        d|¬«      t        ||||¬«      t        ¬«      ƒ d{  –—† S 7 Œ­w)rt   r\   ru   r^   rQ   r`   Nrv   rd   s         r4   rw   zAsyncJobs.cancel�  ód   è ø€ ñ. "ÜÐ`ÐasÐ`vÐwÓxÐxØ—Z‘ZÜÐIÐ^pÔqÜ(Ø+¸ÐQ[Ðelôô "ð  ó 
÷ 
ð 	
ð 
úr¡   ry   c               óÒ   — |st        d|›�«      ‚| j                  t        d|¬«      t        t           t        ||||t        ||dœt        j                  «      ¬«      t        ¬«      S r{   )	rb   ro   r   r"   r*   r$   r   r'   r|   r}   s           r4   r~   zAsyncJobs.list_events®  s€   € ñ: "ÜÐ`ÐasÐ`vÐwÓxÐxØ×!Ñ!ÜÐIÐ^pÔqÜ Ô!3Ñ4Ü(Ø+Ø'Ø%ØÜ%à!&Ø!&ñô +×>Ñ>óôô %ð! "ó 
ð 	
r6   c          	   ƒ  óž   K  — |st        d|›�«      ‚| j                  t        d|¬«      t        ||||¬«      t        ¬«      ƒ d{  –—† S 7 Œ­w)r€   r\   r�   r^   rQ   r`   Nrv   rd   s         r4   r‚   zAsyncJobs.pauseà  sd   è ø€ ñ. "ÜÐ`ÐasÐ`vÐwÓxÐxØ—Z‘ZÜÐHÐ]oÔpÜ(Ø+¸ÐQ[Ðelôô "ð  ó 
÷ 
ð 	
ð 
úr¡   c          	   ƒ  óž   K  — |st        d|›�«      ‚| j                  t        d|¬«      t        ||||¬«      t        ¬«      ƒ d{  –—† S 7 Œ­w)r„   r\   r…   r^   rQ   r`   Nrv   rd   s         r4   r†   zAsyncJobs.resume  r¤   r¡   )r‡   r   )r‡   rœ   )r‡   rž   rˆ   r�   )rg   r�   rh   r‘   rB   r’   rG   r‹   rH   rŒ   rI   r�   rJ   rŽ   r‡   z=AsyncPaginator[FineTuningJob, AsyncCursorPage[FineTuningJob]])r_   r‰   rg   r�   rh   r‘   rG   r‹   rH   rŒ   rI   r�   rJ   rŽ   r‡   zGAsyncPaginator[FineTuningJobEvent, AsyncCursorPage[FineTuningJobEvent]]r“   r˜   r6   r4   r,   r,   ¤  s  „ ÙSàò.ó ð.ð ò.ó ð.ð ò4ó ð4ð EIØQUØ.2Ø26Ø%)Ø'+Ø04ð )-Ø$(Ø"&Ø;Dñ#u
ð aðu
ð ð	u
ð
 Bðu
ð Oðu
ð ,ðu
ð 0ðu
ð #ðu
ð %ðu
ð .ðu
ð &ðu
ð "ðu
ð   ð!u
ð" 9ð#u
ð$ 
ó%u
ðz )-Ø$(Ø"&Ø;Dñ!
àð!
ð &ð!
ð "ð!
ð  ð!
ð 9ð!
ð 
ó!
ðL !Ø Ø48ð )-Ø$(Ø"&Ø;Dñ2
ð ð2
ð ð	2
ð
 2ð2
ð &ð2
ð "ð2
ð  ð2
ð 9ð2
ð 
Gó2
ðt )-Ø$(Ø"&Ø;Dñ
àð
ð &ð
ð "ð
ð  ð
ð 9ð
ð 
ó
ðJ !Ø ð )-Ø$(Ø"&Ø;Dñ0
àð0
ð ð	0
ð
 ð0
ð &ð0
ð "ð0
ð  ð0
ð 9ð0
ð 
Qó0
ðp )-Ø$(Ø"&Ø;Dñ
àð
ð &ð
ð "ð
ð  ð
ð 9ð
ð 
ó
ðN )-Ø$(Ø"&Ø;Dñ
àð
ð &ð
ð "ð
ð  ð
ð 9ð
ð 
ô
r6   c                  ó&   — e Zd Zdd„Zedd„«       Zy)r9   c                ó
  — || _         t        j                  |j                  «      | _        t        j                  |j                  «      | _        t        j                  |j
                  «      | _        t        j                  |j                  «      | _        t        j                  |j                  «      | _        t        j                  |j                  «      | _        t        j                  |j                  «      | _	        y ©N)
Ú_jobsr
   Úto_raw_response_wrapperrY   re   rr   rw   r~   r‚   r†   ©r3   Újobss     r4   Ú__init__zJobsWithRawResponse.__init__$  sÇ   € ØˆŒ
ä&×>Ñ>Ø�K‰Kó
ˆŒô )×@Ñ@Ø�M‰Mó
ˆŒô %×<Ñ<Ø�I‰Ió
ˆŒ	ô '×>Ñ>Ø�K‰Kó
ˆŒô ,×CÑCØ×Ñó
ˆÔô &×=Ñ=Ø�J‰Jó
ˆŒ
ô '×>Ñ>Ø�K‰Kó
ˆ�r6   c                ó@   — t        | j                  j                  «      S r0   )r   r«   r5   r2   s    r4   r5   zJobsWithRawResponse.checkpoints=  s   € ô *¨$¯*©*×*@Ñ*@ÓAÐAr6   N©r®   r+   r‡   ÚNone)r‡   r   ©r”   r•   r–   r¯   r   r5   r˜   r6   r4   r9   r9   #  s   „ ó
ð2 òBó ñBr6   r9   c                  ó&   — e Zd Zdd„Zedd„«       Zy)rœ   c                ó
  — || _         t        j                  |j                  «      | _        t        j                  |j                  «      | _        t        j                  |j
                  «      | _        t        j                  |j                  «      | _        t        j                  |j                  «      | _        t        j                  |j                  «      | _        t        j                  |j                  «      | _	        y rª   )
r«   r
   Úasync_to_raw_response_wrapperrY   re   rr   rw   r~   r‚   r†   r­   s     r4   r¯   z!AsyncJobsWithRawResponse.__init__D  sÇ   € ØˆŒ
ä&×DÑDØ�K‰Kó
ˆŒô )×FÑFØ�M‰Mó
ˆŒô %×BÑBØ�I‰Ió
ˆŒ	ô '×DÑDØ�K‰Kó
ˆŒô ,×IÑIØ×Ñó
ˆÔô &×CÑCØ�J‰Jó
ˆŒ
ô '×DÑDØ�K‰Kó
ˆ�r6   c                ó@   — t        | j                  j                  «      S r0   )r   r«   r5   r2   s    r4   r5   z$AsyncJobsWithRawResponse.checkpoints]  s   € ô /¨t¯z©z×/EÑ/EÓFÐFr6   N©r®   r,   r‡   r²   )r‡   r   r³   r˜   r6   r4   rœ   rœ   C  s   „ ó
ð2 òGó ñGr6   rœ   c                  ó&   — e Zd Zdd„Zedd„«       Zy)r=   c                ó~  — || _         t        |j                  «      | _        t        |j                  «      | _        t        |j                  «      | _        t        |j
                  «      | _        t        |j                  «      | _        t        |j                  «      | _        t        |j                  «      | _        y rª   )	r«   r   rY   re   rr   rw   r~   r‚   r†   r­   s     r4   r¯   z"JobsWithStreamingResponse.__init__d  s�   € ØˆŒ
ä2Ø�K‰Kó
ˆŒô 5Ø�M‰Mó
ˆŒô 1Ø�I‰Ió
ˆŒ	ô 3Ø�K‰Kó
ˆŒô 8Ø×Ñó
ˆÔô 2Ø�J‰Jó
ˆŒ
ô 3Ø�K‰Kó
ˆ�r6   c                ó@   — t        | j                  j                  «      S r0   )r   r«   r5   r2   s    r4   r5   z%JobsWithStreamingResponse.checkpoints}  s   € ô 0°·
±
×0FÑ0FÓGÐGr6   Nr±   )r‡   r   r³   r˜   r6   r4   r=   r=   c  s   „ ó
ð2 òHó ñHr6   r=   c                  ó&   — e Zd Zdd„Zedd„«       Zy)rž   c                ó~  — || _         t        |j                  «      | _        t        |j                  «      | _        t        |j                  «      | _        t        |j
                  «      | _        t        |j                  «      | _        t        |j                  «      | _        t        |j                  «      | _        y rª   )	r«   r    rY   re   rr   rw   r~   r‚   r†   r­   s     r4   r¯   z'AsyncJobsWithStreamingResponse.__init__„  s�   € ØˆŒ
ä8Ø�K‰Kó
ˆŒô ;Ø�M‰Mó
ˆŒô 7Ø�I‰Ió
ˆŒ	ô 9Ø�K‰Kó
ˆŒô >Ø×Ñó
ˆÔô 8Ø�J‰Jó
ˆŒ
ô 9Ø�K‰Kó
ˆ�r6   c                ó@   — t        | j                  j                  «      S r0   )r   r«   r5   r2   s    r4   r5   z*AsyncJobsWithStreamingResponse.checkpoints�  s   € ô 5°T·Z±Z×5KÑ5KÓLÐLr6   Nr¸   )r‡   r   r³   r˜   r6   r4   rž   rž   ƒ  s   „ ó
ð2 òMó ñMr6   rž   )>Ú
__future__r   Útypingr   r   r   r   Útyping_extensionsr   ÚhttpxÚ r
   Ú_typesr   r   r   r   r   r   r   Ú_utilsr   r   r   Ú_compatr   r5   r   r   r   r   r   r   Ú	_resourcer   r   Ú	_responser   r    Ú
paginationr!   r"   Ú_base_clientr#   r$   Útypes.fine_tuningr%   r&   r'   Útypes.shared_params.metadatar(   Ú!types.fine_tuning.fine_tuning_jobr)   Ú'types.fine_tuning.fine_tuning_job_eventr*   Ú__all__r+   r,   r9   rœ   r=   rž   r˜   r6   r4   ú<module>rÐ      s³   ðõ #ç 2Ó 2Ý %ã å !ß L× LÑ Lß LÑ LÝ '÷÷ ÷ <ß Zß :÷÷ ]Ñ \Ý 5Ý ?Ý Jà�;Ð
€ô|
ˆ?ô |
ô~|
Ð ô |
÷~Bñ B÷@Gñ G÷@Hñ H÷@Mò Mr6   