Search Results for

    Show / Hide Table of Contents

    Class LMStudioNativeChatResponse

    Response from LM Studio native /api/v1/chat endpoint (Track B). Contains conversation_id for stateful session continuation.

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

    Properties

    | Edit this page View Source

    Choices

    Declaration
    [JsonProperty("choices")]
    public LMStudioNativeChoice[] Choices { get; set; }
    Property Value
    Type Description
    LMStudioNativeChoice[]
    | Edit this page View Source

    ConversationId

    Declaration
    [JsonProperty("conversation_id")]
    public string ConversationId { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    FinishReason

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

    Model

    Declaration
    [JsonProperty("model")]
    public string Model { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Stats

    Declaration
    [JsonProperty("stats")]
    public LMStudioResponseStats Stats { get; set; }
    Property Value
    Type Description
    LMStudioResponseStats

    Methods

    | Edit this page View Source

    GetContent()

    Declaration
    public string GetContent()
    Returns
    Type Description
    string

    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