forked from openai/openai-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmoderation_create_params.py
More file actions
29 lines (20 loc) · 992 Bytes
/
Copy pathmoderation_create_params.py
File metadata and controls
29 lines (20 loc) · 992 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import List, Union, Iterable
from typing_extensions import Required, TypedDict
from .moderation_model import ModerationModel
from .moderation_multi_modal_input_param import ModerationMultiModalInputParam
__all__ = ["ModerationCreateParams"]
class ModerationCreateParams(TypedDict, total=False):
input: Required[Union[str, List[str], Iterable[ModerationMultiModalInputParam]]]
"""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: Union[str, ModerationModel]
"""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).
"""