Skip to content

Commit 54b8597

Browse files
feat(api): api update
1 parent 56d6b79 commit 54b8597

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 27
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-c6993914ad5f9cb983c4b4eb18276af82b53ef3b56fbb7aec82fad2e2a39049a.yml
3-
openapi_spec_hash: b528665c10bbfa79a5de41c338423fdd
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-d45fc18a0aeccdda77cc82d443afc4e011858a155d39f8222e019127cc103b25.yml
3+
openapi_spec_hash: 5b8bb678ea468c4801cf9ccc96b01637
44
config_hash: 9d144cc6c49d3fd53e5b4472c1e22165

‎src/moderation_api/types/content_submit_response.py‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,20 +144,20 @@ class Content(BaseModel):
144144
] = None
145145
"""The modified content, if any."""
146146

147+
unicode_cleaned: bool
148+
"""
149+
Whether Unicode spoofing normalization rewrote the content — confusables folded
150+
to their Latin lookalikes, invisible characters and combining-mark abuse
151+
stripped.
152+
"""
153+
147154
transcript: Optional[str] = None
148155
"""The transcribed text from audio content.
149156

150157
Only present when audio moderation is used and transcript inclusion is enabled
151158
on the channel.
152159
"""
153160

154-
unicode_cleaned: Optional[bool] = None
155-
"""
156-
Whether Unicode spoofing normalization rewrote the content — confusables folded
157-
to their Latin lookalikes, invisible characters and combining-mark abuse
158-
stripped.
159-
"""
160-
161161

162162
class Evaluation(BaseModel):
163163
"""The evaluation of the content after running the channel policies."""

0 commit comments

Comments
 (0)