We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1686f2e commit 3f4b9deCopy full SHA for 3f4b9de
2 files changed
volcenginesdkarkruntime/types/chat/chat_completion.py
@@ -27,6 +27,11 @@ class Choice(BaseModel):
27
(deprecated) if the model called a function.
28
"""
29
30
+ moderation_hit_type: Optional[
31
+ Literal["violence", "severe_violation"]
32
+ ] = None
33
+ """The type of content moderation service hit."""
34
+
35
index: int
36
"""The index of the choice in the list of choices."""
37
volcenginesdkarkruntime/types/chat/chat_completion_chunk.py
@@ -92,6 +92,11 @@ class Choice(BaseModel):
92
93
94
95
96
97
98
99
100
101
102
0 commit comments