Table of Contents

Class ContentSafetyLabelResult

Namespace
AssemblyAI.Transcripts
Assembly
AssemblyAI.dll
public record ContentSafetyLabelResult : IEquatable<ContentSafetyLabelResult>
Inheritance
ContentSafetyLabelResult
Implements
Inherited Members

Properties

Labels

An array of safety labels, one per sensitive topic that was detected in the section

[JsonPropertyName("labels")]
public IEnumerable<ContentSafetyLabel> Labels { get; set; }

Property Value

IEnumerable<ContentSafetyLabel>

SentencesIdxEnd

The sentence index at which the section ends

[JsonPropertyName("sentences_idx_end")]
public required int SentencesIdxEnd { get; set; }

Property Value

int

SentencesIdxStart

The sentence index at which the section begins

[JsonPropertyName("sentences_idx_start")]
public required int SentencesIdxStart { get; set; }

Property Value

int

Text

The transcript of the section flagged by the Content Moderation model

[JsonPropertyName("text")]
public required string Text { get; set; }

Property Value

string

Timestamp

Timestamp information for the section

[JsonPropertyName("timestamp")]
public required Timestamp Timestamp { get; set; }

Property Value

Timestamp

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.