Search Results for

    Show / Hide Table of Contents

    Class GuardrailCustomWord

    A custom word defined by the user for filtering purposes in a guardrail.

    Inheritance
    object
    GuardrailCustomWord
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.AmazonAws
    Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
    Syntax
    public class GuardrailCustomWord

    Properties

    | Edit this page View Source

    Action

    Optional. Action taken when the word is detected. Valid Values: BLOCKED | NONE

    Declaration
    [JsonProperty("action")]
    public string Action { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Confidence

    Optional. Confidence level of the detection. Valid Values: LOW | MEDIUM | HIGH

    Declaration
    [JsonProperty("confidence")]
    public string Confidence { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Detected

    Optional. Indicates whether the custom word was detected in the content.

    Declaration
    [JsonProperty("detected")]
    public bool? Detected { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    Text

    Required. The text of the custom word.

    Declaration
    [JsonProperty("text")]
    public string Text { get; set; }
    Property Value
    Type Description
    string

    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