+
    ^eòj†W  ã                  ón  € ^ RI Ht ^ RIHt ^ RIHt ^ RIt^RIHt ^RI	H
t
Ht ^RIHtHtHtHtHtHtHt ^RIHtHtHt ^R	IHt ^R
IHtHt ^RIHtHt ^RI H!t!H"t" ^RI#H$t$ ^RI%H&t&H't' ^RI(H)t) RR.t* ! R R]4      t+ ! R R]4      t, ! R R4      t- ! R R4      t. ! R R4      t/ ! R R4      t0R# )é    )Úannotations)ÚOptional)ÚLiteralN)Ú_legacy_response)Úbatch_list_paramsÚbatch_create_params)ÚBodyÚOmitÚQueryÚHeadersÚNotGivenÚomitÚ	not_given)Úpath_templateÚmaybe_transformÚasync_maybe_transform)Úcached_property)ÚSyncAPIResourceÚAsyncAPIResource)Úto_streamed_response_wrapperÚ"async_to_streamed_response_wrapper)ÚSyncCursorPageÚAsyncCursorPage)ÚBatch)ÚAsyncPaginatorÚmake_request_options)ÚMetadataÚBatchesÚAsyncBatchesc                  óÖ   € ] tR t^tRt]R R l4       t]R R l4       tR]R]RR	R
R	RR	R]	/R R llt
RR	R
R	RR	R]	/R R lltR]R]RR	R
R	RR	R]	/R R lltRR	R
R	RR	R]	/R R lltRtR	# )r   ú;Create large batches of API requests to run asynchronously.c               ó   € V ^8„  d   QhRR/# )é   ÚreturnÚBatchesWithRawResponse© )Úformats   "Ú�/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/openai/resources/batches.pyÚ__annotate__ÚBatches.__annotate__   s   € ÷ ,ñ ,Ð#9ñ ,ó    c                ó   € \        V 4      # ©zï
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%   ©Úselfs   &r(   Úwith_raw_responseÚBatches.with_raw_response   s   € ô & dÓ+Ð+r+   c               ó   € V ^8„  d   QhRR/# )r#   r$   ÚBatchesWithStreamingResponser&   )r'   s   "r(   r)   r*   '   s   € ÷ 2ñ 2Ð)Eñ 2r+   c                ó   € \        V 4      # ©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
)r3   r.   s   &r(   Úwith_streaming_responseÚBatches.with_streaming_response&   s   € ô ,¨DÓ1Ð1r+   ÚmetadataÚoutput_expires_afterÚextra_headersNÚextra_queryÚ
extra_bodyÚtimeoutc               ó@   € V ^8„  d   QhRRRRRRRRR	R
RRRRRRRRRR/
# ©r#   Úcompletion_windowzLiteral['24h']Úendpointz¤Literal['/v1/responses', '/v1/chat/completions', '/v1/embeddings', '/v1/completions', '/v1/moderations', '/v1/images/generations', '/v1/images/edits', '/v1/videos']Úinput_file_idÚstrr8   zOptional[Metadata] | Omitr9   z-batch_create_params.OutputExpiresAfter | Omitr:   úHeaders | Noner;   úQuery | Noner<   úBody | Noner=   ú'float | httpx.Timeout | None | NotGivenr$   r   r&   )r'   s   "r(   r)   r*   /   ó}   € ÷ V
ñ V
ð *ðV
ð	
ð	V
ð ðV
ð ,ðV
ð  Lð!V
ð& &ð'V
ð( "ð)V
ð*  ð+V
ð, 9ð-V
ð. 
ñ/V
r+   c       	        ó˜   € V P                  R\        RVRVRVRVRV/\        P                  4      \	        VVVV	RR/R	7      \
        R
7      # )á  
Creates and executes a batch from an uploaded file of requests

Args:
  completion_window: The time frame within which the batch should be processed. Currently only `24h`
      is supported.

  endpoint: The endpoint to be used for all requests in the batch. Currently
      `/v1/responses`, `/v1/chat/completions`, `/v1/embeddings`, `/v1/completions`,
      `/v1/moderations`, `/v1/images/generations`, `/v1/images/edits`, and
      `/v1/videos` are supported. Note that `/v1/embeddings` batches are also
      restricted to a maximum of 50,000 embedding inputs across all requests in the
      batch.

  input_file_id: The ID of an uploaded file that contains requests for the new batch.

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

      Your input file must be formatted as a
      [JSONL file](https://platform.openai.com/docs/api-reference/batch/request-input),
      and must be uploaded with the purpose `batch`. The file can contain up to 50,000
      requests, and can be up to 200 MB in size.

  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.

  output_expires_after: The expiration policy for the output and/or error file that are generated for a
      batch.

  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
ú/batchesr@   rA   rB   r8   r9   Úbearer_authT©r:   r;   r<   r=   Úsecurity©ÚbodyÚoptionsÚcast_to)Ú_postr   r   ÚBatchCreateParamsr   r   ©
r/   r@   rA   rB   r8   r9   r:   r;   r<   r=   s
   &$$$$$$$$$r(   ÚcreateÚBatches.create/   st   € ðD �z‰zØÜ à'Ð):Ø Ø# ]Ø Ø*Ð,@ðô $×5Ñ5ó	ô )Ø+Ø'Ø%ØØ'¨Ð.ôô ð' ó 
ð 	
r+   c               ó0   € V ^8„  d   QhRRRRRRRRR	R
RR/# ©r#   Úbatch_idrC   r:   rD   r;   rE   r<   rF   r=   rG   r$   r   r&   )r'   s   "r(   r)   r*   ‡   óF   € ÷ #
ñ #
àð#
ð &ð#
ð "ð#
ð  ð#
ð 9ð#
ð 
ñ#
r+   c               ó–   € V'       g   \        RV: 24      hV P                  \        RVR7      \        VVVVRR/R7      \        R7      # )á  
Retrieves a batch.

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
ú7Expected a non-empty value for `batch_id` but received ú/batches/{batch_id}©rZ   rL   TrM   ©rQ   rR   ©Ú
ValueErrorÚ_getr   r   r   ©r/   rZ   r:   r;   r<   r=   s   &&$$$$r(   ÚretrieveÚBatches.retrieve‡   s^   € ÷. ÜÐVÐW_ÑVbÐcÓdÐdØ�y‰yÜÐ/¸(ÔCÜ(Ø+Ø'Ø%ØØ'¨Ð.ôô ð ó 

ð 
	
r+   ÚafterÚlimitc               ó4   € V ^8„  d   QhRRRRRRRRR	R
RRRR/# )r#   rh   ú
str | Omitri   ú
int | Omitr:   rD   r;   rE   r<   rF   r=   rG   r$   zSyncCursorPage[Batch]r&   )r'   s   "r(   r)   r*   ¬   sR   € ÷ 3
ñ 3
ð ð3
ð ð	3
ð &ð3
ð "ð3
ð  ð3
ð 9ð3
ð 
ñ3
r+   c               ó¬   € V P                  R\        \        ,          \        VVVV\	        RVRV/\
        P                  4      RR/R7      \        R7      # ©aÄ  List your organization's batches.

Args:
  after: A cursor for use in pagination.

`after` is an object ID that defines your place
      in the list. For instance, if you make a list request and receive 100 objects,
      ending with obj_foo, your subsequent call can include after=obj_foo in order to
      fetch the next page of the list.

  limit: A limit on the number of objects to be returned. Limit can range between 1 and
      100, and the default is 20.

  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
rK   rh   ri   rL   T)r:   r;   r<   r=   ÚqueryrN   )ÚpagerQ   Úmodel)Ú_get_api_listr   r   r   r   r   ÚBatchListParams©r/   rh   ri   r:   r;   r<   r=   s   &$$$$$$r(   ÚlistÚBatches.list¬   sm   € ðB ×!Ñ!ØÜ¤Õ&Ü(Ø+Ø'Ø%ØÜ%à Ø ðô &×5Ñ5óð (¨Ð.ôô ð# "ó 
ð 	
r+   c               ó0   € V ^8„  d   QhRRRRRRRRR	R
RR/# rY   r&   )r'   s   "r(   r)   r*   á   óF   € ÷ &
ñ &
àð&
ð &ð&
ð "ð&
ð  ð&
ð 9ð&
ð 
ñ&
r+   c               ó–   € V'       g   \        RV: 24      hV P                  \        RVR7      \        VVVVRR/R7      \        R7      # )áÂ  Cancels an in-progress batch.

The batch will be in status `cancelling` for up to
10 minutes, before changing to `cancelled`, where it will have partial results
(if any) available in the output file.

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^   ú/batches/{batch_id}/cancelr`   rL   TrM   ra   ©rc   rS   r   r   r   re   s   &&$$$$r(   ÚcancelÚBatches.cancelá   s^   € ÷4 ÜÐVÐW_ÑVbÐcÓdÐdØ�z‰zÜÐ6ÀÔJÜ(Ø+Ø'Ø%ØØ'¨Ð.ôô ð ó 

ð 
	
r+   r&   ©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r0   r6   r   r   rV   rf   ru   r}   Ú__static_attributes__r&   r+   r(   r   r      s  † ÙEàô,ó ð,ð ô2ó ð2ðV
ð /3ðV
ð  OSð!V
ð& )-ð'V
ð( %)ð)V
ð* #'ð+V
ð, <E÷-V
ðp#
ð )-ð#
ð %)ð#
ð #'ð#
ð <E÷#
ðJ3
ð !ð3
ð !ð	3
ð )-ð3
ð %)ð3
ð #'ð3
ð <E÷3
ðj&
ð )-ð&
ð %)ð&
ð #'ð&
ð <E÷&
ó &
r+   c                  óÖ   € ] tR tRtRt]R R l4       t]R R l4       tR]R]R	R
RR
RR
R]	/R R llt
R	R
RR
RR
R]	/R R lltR]R]R	R
RR
RR
R]	/R R lltR	R
RR
RR
R]	/R R lltRtR
# )r   i
  r!   c               ó   € V ^8„  d   QhRR/# )r#   r$   ÚAsyncBatchesWithRawResponser&   )r'   s   "r(   r)   ÚAsyncBatches.__annotate__  s   € ÷ 1ñ 1Ð#>ñ 1r+   c                ó   € \        V 4      # r-   )rˆ   r.   s   &r(   r0   ÚAsyncBatches.with_raw_response  s   € ô +¨4Ó0Ð0r+   c               ó   € V ^8„  d   QhRR/# )r#   r$   Ú!AsyncBatchesWithStreamingResponser&   )r'   s   "r(   r)   r‰     s   € ÷ 7ñ 7Ð)Jñ 7r+   c                ó   € \        V 4      # r5   )r�   r.   s   &r(   r6   Ú$AsyncBatches.with_streaming_response  s   € ô 1°Ó6Ð6r+   r8   r9   r:   Nr;   r<   r=   c               ó@   € V ^8„  d   QhRRRRRRRRR	R
RRRRRRRRRR/
# r?   r&   )r'   s   "r(   r)   r‰      rH   r+   c       	      ƒ  óÈ   "  € T P                  R\        RVRVRVRVRV/\        P                  4      G Rj  x€L
 \	        VVVV	RR	/R
7      \
        R7      G Rj  x€L
 #  L' L5i)rJ   rK   r@   rA   rB   r8   r9   NrL   TrM   rO   )rS   r   r   rT   r   r   rU   s
   &$$$$$$$$$r(   rV   ÚAsyncBatches.create   s‹   é € ðD —Z‘ZØÜ,à'Ð):Ø Ø# ]Ø Ø*Ð,@ðô $×5Ñ5ó	÷ 	ô )Ø+Ø'Ø%ØØ'¨Ð.ôô ð'  ó 
÷ 
ð 	
ñ	ñ
ùs!   ‚4A"¶A
·"A"ÁA ÁA"Á A"c               ó0   € V ^8„  d   QhRRRRRRRRR	R
RR/# rY   r&   )r'   s   "r(   r)   r‰   x  r[   r+   c             ƒ  ó²   "  € V'       g   \        RV: 24      hV P                  \        RVR7      \        VVVVRR/R7      \        R7      G Rj  x€L
 #  L5i)	r]   r^   r_   r`   rL   TrM   ra   Nrb   re   s   &&$$$$r(   rf   ÚAsyncBatches.retrievex  sk   é € ÷. ÜÐVÐW_ÑVbÐcÓdÐdØ—Y‘YÜÐ/¸(ÔCÜ(Ø+Ø'Ø%ØØ'¨Ð.ôô ð ó 

÷ 

ð 
	
ñ 

ùó   ‚AAÁAÁArh   ri   c               ó4   € V ^8„  d   QhRRRRRRRRR	R
RRRR/# )r#   rh   rk   ri   rl   r:   rD   r;   rE   r<   rF   r=   rG   r$   z-AsyncPaginator[Batch, AsyncCursorPage[Batch]]r&   )r'   s   "r(   r)   r‰   �  sR   € ÷ 3
ñ 3
ð ð3
ð ð	3
ð &ð3
ð "ð3
ð  ð3
ð 9ð3
ð 
7ñ3
r+   c               ó¬   € V P                  R\        \        ,          \        VVVV\	        RVRV/\
        P                  4      RR/R7      \        R7      # rn   )rr   r   r   r   r   r   rs   rt   s   &$$$$$$r(   ru   ÚAsyncBatches.list�  sm   € ðB ×!Ñ!ØÜ ¤Õ'Ü(Ø+Ø'Ø%ØÜ%à Ø ðô &×5Ñ5óð (¨Ð.ôô ð# "ó 
ð 	
r+   c               ó0   € V ^8„  d   QhRRRRRRRRR	R
RR/# rY   r&   )r'   s   "r(   r)   r‰   Ò  rx   r+   c             ƒ  ó²   "  € V'       g   \        RV: 24      hV P                  \        RVR7      \        VVVVRR/R7      \        R7      G Rj  x€L
 #  L5i)	rz   r^   r{   r`   rL   TrM   ra   Nr|   re   s   &&$$$$r(   r}   ÚAsyncBatches.cancelÒ  sk   é € ÷4 ÜÐVÐW_ÑVbÐcÓdÐdØ—Z‘ZÜÐ6ÀÔJÜ(Ø+Ø'Ø%ØØ'¨Ð.ôô ð  ó 

÷ 

ð 
	
ñ 

ùr–   r&   r   r&   r+   r(   r   r   
  s  † ÙEàô1ó ð1ð ô7ó ð7ðV
ð /3ðV
ð  OSð!V
ð& )-ð'V
ð( %)ð)V
ð* #'ð+V
ð, <E÷-V
ðp#
ð )-ð#
ð %)ð#
ð #'ð#
ð <E÷#
ðJ3
ð !ð3
ð !ð	3
ð )-ð3
ð %)ð3
ð #'ð3
ð <E÷3
ðj&
ð )-ð&
ð %)ð&
ð #'ð&
ð <E÷&
ó &
r+   c                  ó"   € ] tR tRtR R ltRtR# )r%   iû  c               ó    € V ^8„  d   QhRRRR/# ©r#   Úbatchesr   r$   ÚNoner&   )r'   s   "r(   r)   Ú#BatchesWithRawResponse.__annotate__ü  ó   € ÷ 
ñ 
 ð 
¨Dñ 
r+   c                	ó:  € Wn         \        P                  ! VP                  4      V n        \        P                  ! VP                  4      V n        \        P                  ! VP
                  4      V n        \        P                  ! VP                  4      V n        R # ©N)Ú_batchesr   Úto_raw_response_wrapperrV   rf   ru   r}   ©r/   r    s   &&r(   Ú__init__ÚBatchesWithRawResponse.__init__ü  ss   € ØŒä&×>Ò>Ø�N‰Nó
ˆŒô )×@Ò@Ø×Ñó
ˆŒô %×<Ò<Ø�L‰Ló
ˆŒ	ô '×>Ò>Ø�N‰Nó
ˆŽr+   ©r¦   r}   rV   ru   rf   N©r€   r�   r‚   rƒ   r©   r…   r&   r+   r(   r%   r%   û  ó   † ÷
ñ 
r+   r%   c                  ó"   € ] tR tRtR R ltRtR# )rˆ   i  c               ó    € V ^8„  d   QhRRRR/# ©r#   r    r   r$   r¡   r&   )r'   s   "r(   r)   Ú(AsyncBatchesWithRawResponse.__annotate__  ó   € ÷ 
ñ 
 ð 
°ñ 
r+   c                	ó:  € Wn         \        P                  ! VP                  4      V n        \        P                  ! VP                  4      V n        \        P                  ! VP
                  4      V n        \        P                  ! VP                  4      V n        R # r¥   )r¦   r   Úasync_to_raw_response_wrapperrV   rf   ru   r}   r¨   s   &&r(   r©   Ú$AsyncBatchesWithRawResponse.__init__  ss   € ØŒä&×DÒDØ�N‰Nó
ˆŒô )×FÒFØ×Ñó
ˆŒô %×BÒBØ�L‰Ló
ˆŒ	ô '×DÒDØ�N‰Nó
ˆŽr+   r«   Nr¬   r&   r+   r(   rˆ   rˆ     r­   r+   rˆ   c                  ó"   € ] tR tRtR R ltRtR# )r3   i  c               ó    € V ^8„  d   QhRRRR/# rŸ   r&   )r'   s   "r(   r)   Ú)BatchesWithStreamingResponse.__annotate__   r£   r+   c                	óâ   € Wn         \        VP                  4      V n        \        VP                  4      V n        \        VP                  4      V n        \        VP
                  4      V n        R # r¥   )r¦   r   rV   rf   ru   r}   r¨   s   &&r(   r©   Ú%BatchesWithStreamingResponse.__init__   s[   € ØŒä2Ø�N‰Nó
ˆŒô 5Ø×Ñó
ˆŒô 1Ø�L‰Ló
ˆŒ	ô 3Ø�N‰Nó
ˆŽr+   r«   Nr¬   r&   r+   r(   r3   r3     r­   r+   r3   c                  ó"   € ] tR tRtR R ltRtR# )r�   i1  c               ó    € V ^8„  d   QhRRRR/# r°   r&   )r'   s   "r(   r)   Ú.AsyncBatchesWithStreamingResponse.__annotate__2  r²   r+   c                	óâ   € Wn         \        VP                  4      V n        \        VP                  4      V n        \        VP                  4      V n        \        VP
                  4      V n        R # r¥   )r¦   r   rV   rf   ru   r}   r¨   s   &&r(   r©   Ú*AsyncBatchesWithStreamingResponse.__init__2  s[   € ØŒä8Ø�N‰Nó
ˆŒô ;Ø×Ñó
ˆŒô 7Ø�L‰Ló
ˆŒ	ô 9Ø�N‰Nó
ˆŽr+   r«   Nr¬   r&   r+   r(   r�   r�   1  r­   r+   r�   )1Ú
__future__r   Útypingr   Útyping_extensionsr   ÚhttpxÚ r   Útypesr   r   Ú_typesr	   r
   r   r   r   r   r   Ú_utilsr   r   r   Ú_compatr   Ú	_resourcer   r   Ú	_responser   r   Ú
paginationr   r   Útypes.batchr   Ú_base_clientr   r   Útypes.shared_params.metadatar   Ú__all__r   r   r%   rˆ   r3   r�   r&   r+   r(   Ú<module>rÐ      sŽ   ðõ #å Ý %ã å ß :ß J× JÑ Jß JÑ JÝ %ß 9ß Xß 8Ý ß ?Ý 3à�nÐ
%€ôn
ˆoô n
ôbn
Ð#ô n
÷b
ñ 
÷$
ñ 
÷$
ñ 
÷$
ó 
r+   