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
SentencesIdxEnd
The sentence index at which the section ends
[JsonPropertyName("sentences_idx_end")]
public required int SentencesIdxEnd { get; set; }
Property Value
SentencesIdxStart
The sentence index at which the section begins
[JsonPropertyName("sentences_idx_start")]
public required int SentencesIdxStart { get; set; }
Property Value
Text
The transcript of the section flagged by the Content Moderation model
[JsonPropertyName("text")]
public required string Text { get; set; }
Property Value
Timestamp
Timestamp information for the section
[JsonPropertyName("timestamp")]
public required Timestamp Timestamp { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.