+
    UiR                    Z   ^ RI Ht ^ RIHtHt ^ RIt^RIHt ^RIH	t	 ^RI
HtHtHtHtHtHtHtHt ^RIHtHt ^RIHt ^R	IHtHt ^R
IHtHt ^RIHt ^RI H!t! ^RI"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      t,R# )    )annotations)UnionIterableN)_legacy_response)moderation_create_params)BodyOmitQueryHeadersNotGivenSequenceNotStromit	not_given)maybe_transformasync_maybe_transform)cached_property)SyncAPIResourceAsyncAPIResource)to_streamed_response_wrapper"async_to_streamed_response_wrapper)make_request_options)ModerationModel)ModerationCreateResponse)ModerationMultiModalInputParamModerationsAsyncModerationsc            
      j    ] 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 llt
RtR# )r   U
Given text and/or image inputs, classifies if those inputs are potentially harmful.
c                   V ^8  d   QhRR/# )   returnModerationsWithRawResponse )formats   "[/home/ubuntu/hermes-agent/venv/lib/python3.14/site-packages/openai/resources/moderations.py__annotate__Moderations.__annotate__   s     0 0#= 0    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Moderations.with_raw_response   s     *$//r(   c                   V ^8  d   QhRR/# )r    r!    ModerationsWithStreamingResponser#   )r$   s   "r%   r&   r'   (   s     6 6)I 6r(   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
)r0   r+   s   &r%   with_streaming_response#Moderations.with_streaming_response'   s     055r(   modelextra_headersNextra_query
extra_bodytimeoutc               4    V ^8  d   QhRRRRRRRRR	R
RRRR/# r    inputzIUnion[str, SequenceNotStr[str], Iterable[ModerationMultiModalInputParam]]r5   z"Union[str, ModerationModel] | Omitr6   zHeaders | Noner7   zQuery | Noner8   zBody | Noner9   z'float | httpx.Timeout | None | NotGivenr!   r   r#   )r$   s   "r%   r&   r'   0   S     /
 /
 Y/
 2	/
 &/
 "/
  /
 9/
 
"/
r(   c                   V P                  R\        RVRV/\        P                  4      \	        W4WVR7      \
        R7      # ):  Classifies if text and/or image inputs are potentially harmful.

Learn more in
the [moderation guide](https://platform.openai.com/docs/guides/moderation).

Args:
  input: Input (or inputs) to classify. Can be a single string, an array of strings, or
      an array of multi-modal input objects similar to other models.

  model: The content moderation model you would like to use. Learn more in
      [the moderation guide](https://platform.openai.com/docs/guides/moderation), and
      learn about available models
      [here](https://platform.openai.com/docs/models#moderation).

  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
/moderationsr<   r5   r6   r7   r8   r9   bodyoptionscast_to)_postr   r   ModerationCreateParamsr   r   r,   r<   r5   r6   r7   r8   r9   s   &$$$$$$r%   createModerations.create0   sU    D zz UU )?? )+Q[ -  
 	
r(   r#   __name__
__module____qualname____firstlineno____doc__r   r-   r3   r   r   rI   __static_attributes__r#   r(   r%   r   r      sl     0 0 6 6/
 59	/
 )-/
 %)/
 #'/
 <E/
 /
r(   c            
      j    ] tR t^btRt]R R l4       t]R R l4       tR]RRR	RR
RR]	/R R llt
RtR# )r   r   c                   V ^8  d   QhRR/# )r    r!   AsyncModerationsWithRawResponser#   )r$   s   "r%   r&   AsyncModerations.__annotate__h   s     5 5#B 5r(   c                    \        V 4      # r*   )rT   r+   s   &r%   r-   "AsyncModerations.with_raw_responseg   s     /t44r(   c                   V ^8  d   QhRR/# )r    r!   %AsyncModerationsWithStreamingResponser#   )r$   s   "r%   r&   rU   r   s     ; ;)N ;r(   c                    \        V 4      # r2   )rY   r+   s   &r%   r3   (AsyncModerations.with_streaming_responseq   s     5T::r(   r5   r6   Nr7   r8   r9   c               4    V ^8  d   QhRRRRRRRRR	R
RRRR/# r;   r#   )r$   s   "r%   r&   rU   z   r=   r(   c                  "   T P                  R\        RVRV/\        P                  4      G Rj  xL
 \	        W4WVR7      \
        R7      G Rj  xL
 #  L" L5i)r?   r@   r<   r5   NrA   rB   )rF   r   r   rG   r   r   rH   s   &$$$$$$r%   rI   AsyncModerations.createz   sl     D ZZ,UU )??  )+Q[ -   
 
 	

s!   .AA
AAAAr#   rK   r#   r(   r%   r   r   b   sl     5 5 ; ;/
 59	/
 )-/
 %)/
 #'/
 <E/
 /
r(   c                  "    ] tR t^tR R ltRtR# )r"   c                    V ^8  d   QhRRRR/# r    moderationsr   r!   Noner#   )r$   s   "r%   r&   'ModerationsWithRawResponse.__annotate__        
 
K 
D 
r(   c                	\    Wn         \        P                  ! VP                  4      V n        R # N)_moderationsr   to_raw_response_wrapperrI   r,   rb   s   &&r%   __init__#ModerationsWithRawResponse.__init__   s#    '&>>
r(   rh   rI   NrL   rM   rN   rO   rk   rQ   r#   r(   r%   r"   r"          
 
r(   r"   c                  "    ] tR t^tR R ltRtR# )rT   c                    V ^8  d   QhRRRR/# r    rb   r   r!   rc   r#   )r$   s   "r%   r&   ,AsyncModerationsWithRawResponse.__annotate__        
 
$4 
 
r(   c                	\    Wn         \        P                  ! VP                  4      V n        R # rg   )rh   r   async_to_raw_response_wrapperrI   rj   s   &&r%   rk   (AsyncModerationsWithRawResponse.__init__   s#    '&DD
r(   rm   Nrn   r#   r(   r%   rT   rT      ro   r(   rT   c                  "    ] tR t^tR R ltRtR# )r0   c                    V ^8  d   QhRRRR/# ra   r#   )r$   s   "r%   r&   -ModerationsWithStreamingResponse.__annotate__   re   r(   c                	F    Wn         \        VP                  4      V n        R # rg   )rh   r   rI   rj   s   &&r%   rk   )ModerationsWithStreamingResponse.__init__   s    '2
r(   rm   Nrn   r#   r(   r%   r0   r0      ro   r(   r0   c                  "    ] tR t^tR R ltRtR# )rY   c                    V ^8  d   QhRRRR/# rr   r#   )r$   s   "r%   r&   2AsyncModerationsWithStreamingResponse.__annotate__   rt   r(   c                	F    Wn         \        VP                  4      V n        R # rg   )rh   r   rI   rj   s   &&r%   rk   .AsyncModerationsWithStreamingResponse.__init__   s    '8
r(   rm   Nrn   r#   r(   r%   rY   rY      ro   r(   rY   )-
__future__r   typingr   r   httpx r   typesr   _typesr   r	   r
   r   r   r   r   r   _utilsr   r   _compatr   	_resourcer   r   	_responser   r   _base_clientr   types.moderation_modelr    types.moderation_create_responser   (types.moderation_multi_modal_input_paramr   __all__r   r   r"   rT   r0   rY   r#   r(   r%   <module>r      s    # "   , Z Z Z ; % 9 X / 4 G U,
-G
/ G
TG
' G
T
 

 

 

 
r(   