Search Results for

    Show / Hide Table of Contents

    Class ReasoningContentBlock

    Contains content regarding the reasoning that is carried out by the model with respect to the content in the content block. Reasoning refers to a Chain of Thought (CoT) that the model generates to enhance the accuracy of its final response.

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

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

    Constructors

    | Edit this page View Source

    ReasoningContentBlock()

    Declaration
    public ReasoningContentBlock()
    | Edit this page View Source

    ReasoningContentBlock(string, string)

    Declaration
    public ReasoningContentBlock(string reasoningText, string signature = null)
    Parameters
    Type Name Description
    string reasoningText
    string signature

    Properties

    | Edit this page View Source

    ReasoningText

    Optional. The reasoning that the model used to return the output.

    Declaration
    [JsonProperty("reasoningText")]
    public ReasoningContentBlock.Content ReasoningText { get; set; }
    Property Value
    Type Description
    ReasoningContentBlock.Content
    | Edit this page View Source

    RedactedContent

    Optional. The content in the reasoning that was encrypted by the model provider for safety reasons. The encryption doesn't affect the quality of responses. Type: Base64-encoded binary data object

    Declaration
    [JsonProperty("redactedContent")]
    public string RedactedContent { 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