Search Results for

    Show / Hide Table of Contents

    Class OllamaStreamEvent

    Inheritance
    object
    OllamaResponse
    OllamaTextResponse
    OllamaStreamEvent
    Implements
    IProjector<MessageDelta>
    ICompletableEvent
    IEvent
    Inherited Members
    OllamaTextResponse.CreatedAt
    OllamaTextResponse.FinishReason
    OllamaTextResponse.Context
    OllamaTextResponse.PromptEvalDuration
    OllamaTextResponse.OutputTokenCount
    OllamaTextResponse.EvalDuration
    OllamaResponse.Model
    OllamaResponse.TotalDuration
    OllamaResponse.LoadDuration
    OllamaResponse.InputTokenCount
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9.AIDevKit.Ollama
    Assembly: Glitch9.AIDevKit.Provider.Ollama.dll
    Syntax
    public sealed class OllamaStreamEvent : OllamaTextResponse, IProjector<MessageDelta>, ICompletableEvent, IEvent

    Properties

    | Edit this page View Source

    Delta

    Declaration
    [JsonProperty("message")]
    public MessageDelta Delta { get; set; }
    Property Value
    Type Description
    MessageDelta
    | Edit this page View Source

    Done

    Declaration
    [JsonProperty("done")]
    public bool? Done { get; set; }
    Property Value
    Type Description
    bool?

    Methods

    | Edit this page View Source

    IsDone()

    Declaration
    public bool IsDone()
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsValid()

    Declaration
    public bool IsValid()
    Returns
    Type Description
    bool
    | Edit this page View Source

    Project()

    Declaration
    public MessageDelta Project()
    Returns
    Type Description
    MessageDelta
    | Edit this page View Source

    ToString()

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

    Implements

    IProjector<TOut>
    ICompletableEvent
    IEvent

    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