Search Results for

    Show / Hide Table of Contents

    Class ThinkingBlock

    Represents a "thinking" content block returned by Anthropic models. This block contains the model's hidden chain-of-thought / reasoning data (which Anthropic may expose under controlled settings).

    Inheritance
    object
    ContentBlock
    ThinkingBlock
    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 ThinkingBlock : ContentBlock

    Properties

    | Edit this page View Source

    Signature

    A cryptographic signature provided by Anthropic to verify the integrity and authenticity of the "thinking" block. Ensures that the reasoning content was not tampered with in transit.

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

    Thinking

    The actual reasoning text ("thinking") generated by the model. This is usually not intended for end-user display, but may be returned in specialized Anthropic APIs for analysis/debugging.

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

    Type

    The content type is fixed to "Thinking", identifying this block as reasoning/thought content.

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

    Methods

    | Edit this page View Source

    FromReasoning(Reasoning)

    Declaration
    public static ThinkingBlock FromReasoning(Reasoning reasoning)
    Parameters
    Type Name Description
    Reasoning reasoning
    Returns
    Type Description
    ThinkingBlock
    | Edit this page View Source

    ToReasoning()

    Declaration
    public Reasoning ToReasoning()
    Returns
    Type Description
    Reasoning

    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