Search Results for

    Show / Hide Table of Contents

    Class RedactedThinkingBlock

    Represents a block of content where the model's internal reasoning or "thinking" has been intentionally hidden (redacted) before being returned to the client.

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

    Properties

    | Edit this page View Source

    Data

    The redacted data itself. Instead of the actual reasoning text, this will usually contain a placeholder or marker (e.g., "[REDACTED]") to indicate that sensitive internal thought was removed.

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

    ToRedactedReasoning

    Declaration
    public RedactedReasoning ToRedactedReasoning { get; }
    Property Value
    Type Description
    RedactedReasoning
    | Edit this page View Source

    Type

    The content type is fixed to "RedactedThinking", indicating this block holds reasoning that was redacted.

    Declaration
    [JsonProperty("type")]
    public override ContentType Type { get; }
    Property Value
    Type Description
    ContentType
    Overrides
    ContentBlock.Type

    Methods

    | Edit this page View Source

    FromRedactedReasoning(RedactedReasoning)

    Declaration
    public static RedactedThinkingBlock FromRedactedReasoning(RedactedReasoning reasoning)
    Parameters
    Type Name Description
    RedactedReasoning reasoning
    Returns
    Type Description
    RedactedThinkingBlock

    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