AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class ChatDelta

    Inheritance
    object
    ChatDelta
    Namespace: Glitch9.AIDevKit
    Assembly: .dll
    Syntax
    public class ChatDelta

    Properties

    Content

    The contents of the chunk message.

    Declaration
    public string Content { get; set; }
    Property Value
    Type Description
    string

    Refusal

    The refusal message generated by the model.

    Declaration
    public string Refusal { get; set; }
    Property Value
    Type Description
    string

    Role

    The role of the author of this message.

    Declaration
    public ChatRole Role { get; set; }
    Property Value
    Type Description
    ChatRole

    ToolCalls

    The name and arguments of a function that should be called, as generated by the model. ///

    Declaration
    public ToolCall[] ToolCalls { get; set; }
    Property Value
    Type Description
    ToolCall[]

    Methods

    ToTextDelta()

    Declaration
    public string ToTextDelta()
    Returns
    Type Description
    string

    Operators

    implicit operator string(ChatDelta)

    Declaration
    public static implicit operator string(ChatDelta delta)
    Parameters
    Type Name Description
    ChatDelta delta
    Returns
    Type Description
    string
    In this article
    Back to top Generated by DocFX