Search Results for

    Show / Hide Table of Contents

    Enum TextChunkType

    Specifies the type of text content in an LLM (Large Language Model) streaming response.

    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public enum TextChunkType

    Fields

    Name Description
    Citation

    Citation or reference to source material used by the LLM.

    Code

    Code snippet or programming content generated by the LLM.

    InputTranscript

    Transcription of user's voice input (speech-to-text).

    Message

    Standard conversational message content from the LLM.

    OutputTranscript

    Transcription of LLM's voice output (text-to-speech content).

    Reasoning

    Internal reasoning or "thinking" text that shows the LLM's thought process before generating the final answer.

    ReasoningSummary

    A summary of the reasoning process after the LLM has completed its thinking.

    Refusal

    The LLM refused to generate content (e.g., due to safety filters or policy violations).

    Signature

    Digital signature or verification information from the LLM response. This is a provider-specific feature (e.g., Anthropic Claude) and may not be available in all LLM APIs.

    ToolCallArguments

    JSON arguments being passed to a tool or function called by the LLM.

    Unknown

    Unknown or unrecognized text type.

    Extension Methods

    TrTaskExtensions.TrDeferred<TextChunkType>(TextChunkType, Action<TrStringTask>)
    TrTaskExtensions.Tr<TextChunkType>(TextChunkType)
    EnumExtensions.HasAnyFlag<TextChunkType>(TextChunkType, TextChunkType?)
    EnumExtensions.ToFlagList<TextChunkType>(TextChunkType)
    EnumExtensions.ToFlagSet<TextChunkType>(TextChunkType)
    EnumExtensions.ToJoinedString<TextChunkType>(TextChunkType, char, char)
    EnumExtensions.ToLowerInvariantString<TextChunkType>(TextChunkType)
    EventExtensions.ToDelta<TextChunkType>(TextChunkType, string, int, string, bool)
    EventExtensions.ToDone<TextChunkType>(TextChunkType, string, int, string)
    EventExtensions.ToEvent<TextChunkType>(TextChunkType)
    EventExtensions.UpcastDelta<TextChunkType, T2>(TextChunkType, string, int, string, bool)
    ExperimentalAttributeExtensions.IsExperimental<TextChunkType>(TextChunkType)
    FallbackExtensions.IsOr<TextChunkType, TChild>(TextChunkType, TChild)
    ResponseCastingExtensions.GetResult<TextChunkType>(TextChunkType)
    LogMessageExtensions.GetDisplayedMessage<TextChunkType>(TextChunkType)
    LogMessageExtensions.GetLogMessage<TextChunkType>(TextChunkType)
    SystemExtensions.GetHashCodeOrDefault<TextChunkType>(TextChunkType)
    RESTEnum.GetRESTEnum(Enum)
    InspectorNameUtils.GetInspectorName(Enum, string)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation