Search Results for

    Show / Hide Table of Contents

    Class ModerationResult

    Inheritance
    object
    ModerationResult
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9.AIDevKit.OpenAI
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public class ModerationResult

    Properties

    | Edit this page View Source

    Categories

    A list of the categories, and whether they are flagged or not.

    Declaration
    [JsonProperty("categories")]
    public Dictionary<string, bool> Categories { get; set; }
    Property Value
    Type Description
    Dictionary<string, bool>
    | Edit this page View Source

    CategoryScores

    A list of the categories along with their scores as predicted by model.

    Declaration
    [JsonProperty("category_scores")]
    public Dictionary<string, float> CategoryScores { get; set; }
    Property Value
    Type Description
    Dictionary<string, float>
    | Edit this page View Source

    Flagged

    Whether any of the below categories are flagged.

    Declaration
    [JsonProperty("flagged")]
    public bool Flagged { get; set; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation