Search Results for

    Show / Hide Table of Contents

    Class GuardrailConverseContentBlock

    A content block for selective guarding with the Converse or ConverseStream API operations.

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

    This data type is a UNION, so only one of the following members can be specified when used or returned.

    Properties

    | Edit this page View Source

    Image

    Optional. Image within converse content block to be evaluated by the guardrail.

    Declaration
    [JsonProperty("image")]
    public ImageBlock Image { get; set; }
    Property Value
    Type Description
    ImageBlock
    | Edit this page View Source

    Text

    Optional. The text to guard.

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

    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