Search Results for

    Show / Hide Table of Contents

    Class DeltaTextState

    Inheritance
    object
    DeltaTextState
    ToolCallState
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public class DeltaTextState

    Constructors

    | Edit this page View Source

    DeltaTextState(TextChunkType)

    Declaration
    public DeltaTextState(TextChunkType type)
    Parameters
    Type Name Description
    TextChunkType type

    Properties

    | Edit this page View Source

    FinishReason

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

    Text

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

    Type

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

    Methods

    | Edit this page View Source

    AppendText(string)

    Declaration
    public void AppendText(string delta)
    Parameters
    Type Name Description
    string delta
    | Edit this page View Source

    GetFullText()

    Declaration
    public string GetFullText()
    Returns
    Type Description
    string
    | Edit this page View Source

    SetFinishReason(FinishReason)

    Declaration
    public void SetFinishReason(FinishReason reason)
    Parameters
    Type Name Description
    FinishReason reason

    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