Search Results for

    Show / Hide Table of Contents

    Class ChatCompletionChoiceDelta

    Inheritance
    object
    ChatCompletionChoiceBase
    ChatCompletionChoiceDelta
    Implements
    ITextSource
    Inherited Members
    ChatCompletionChoiceBase.Index
    ChatCompletionChoiceBase.Logprobs
    ChatCompletionChoiceBase.FinishReason
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9.AIDevKit.OpenAI
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public sealed class ChatCompletionChoiceDelta : ChatCompletionChoiceBase, ITextSource

    Constructors

    | Edit this page View Source

    ChatCompletionChoiceDelta()

    Declaration
    public ChatCompletionChoiceDelta()
    | Edit this page View Source

    ChatCompletionChoiceDelta(int, MessageDelta)

    Declaration
    public ChatCompletionChoiceDelta(int index, MessageDelta delta)
    Parameters
    Type Name Description
    int index
    MessageDelta delta

    Properties

    | Edit this page View Source

    Delta

    A streaming chat completion message generated by the model.

    Declaration
    [JsonProperty("delta")]
    public MessageDelta Delta { get; set; }
    Property Value
    Type Description
    MessageDelta

    Methods

    | Edit this page View Source

    GetTextSource()

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

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    ITextSource

    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