AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class ModerationDetail

    Inheritance
    object
    ModerationDetail
    Namespace: Glitch9.AIDevKit.OpenAI
    Assembly: .dll
    Syntax
    public class ModerationDetail

    Properties

    Categories

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

    Declaration
    public Dictionary<string, bool> Categories { get; set; }
    Property Value
    Type Description
    Dictionary<string, bool>

    CategoryScores

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

    Declaration
    public Dictionary<string, float> CategoryScores { get; set; }
    Property Value
    Type Description
    Dictionary<string, float>

    Flagged

    Whether any of the below categories are flagged.

    Declaration
    public bool Flagged { get; set; }
    Property Value
    Type Description
    bool

    Methods

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    object.ToString()
    In this article
    Back to top Generated by DocFX