ToxicSpan
Models & Types · AiDotNet.Safety.Text
A span of text identified as toxic.
Constructors
| Constructor | Summary |
|---|---|
ToxicSpan() |
Properties
| Property | Summary |
|---|---|
double Score { get; set; } |
Toxicity score for this span. |
int EndIndex { get; set; } |
End character offset. |
int StartIndex { get; set; } |
Start character offset. |
string Category { get; set; } |
Category of toxicity detected. |
string Text { get; set; } |
The toxic text. |