Search Results for

    Show / Hide Table of Contents

    Interface ITextChunk

    Base interface for streaming text data chunks.

    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public interface ITextChunk

    Properties

    | Edit this page View Source

    Role

    The role of the author of this message.

    Declaration
    ChatRole Role { get; }
    Property Value
    Type Description
    ChatRole
    | Edit this page View Source

    Text

    The text content.

    Declaration
    string Text { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Type

    The type of text content.

    Declaration
    TextChunkType Type { get; }
    Property Value
    Type Description
    TextChunkType

    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