Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 8.33 KB

channel.md

File metadata and controls

28 lines (25 loc) · 8.33 KB

Channel

Fields

Field Type Required Description
id str ✔️ The ID of the channel.
project_id str ✔️ The ID of the project the channel is in.
key str ✔️ The key you pass as channel when you moderate content. Unique in the project.
name str ✔️ The channel's name.
description Nullable[str] ✔️ The channel's description.
is_default bool ✔️ Whether requests that name no channel use this one. Each project has one default channel.
content_type Nullable[models.ContentType] ✔️ N/A
flagging_mode models.FlaggingMode ✔️ ACTIVE flags content. DRY_RUN evaluates content without flagging it.
context_enabled bool ✔️ Whether earlier messages in the conversation are read when moderating a message.
enable_image_moderation bool ✔️ Whether images are moderated.
enable_video_moderation bool ✔️ Whether videos are moderated.
enable_audio_moderation bool ✔️ Whether audio is moderated.
enable_voice_moderation bool ✔️ Whether real-time voice streams are moderated.
include_transcript_in_response bool ✔️ Whether audio and video transcripts are returned in responses.
transcription_quality models.TranscriptionQuality ✔️ Trade-off between transcription speed and accuracy.
unicode_spoof_detection_enabled bool ✔️ Whether look-alike Unicode characters are normalized before moderation.
frame_capture_interval float ✔️ Seconds between frames captured from a video.
max_frames_per_video int ✔️ The most frames moderated per video.
spread_frames bool ✔️ Whether frames are spread evenly across the whole video.
created_at str ✔️ When the channel was created.
updated_at str ✔️ When the channel was last changed.