Search Results for

    Show / Hide Table of Contents

    Class OllamaResponse

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

    Properties

    | Edit this page View Source

    InputTokenCount

    Optional. Number of tokens in the prompt.

    Declaration
    [JsonProperty("prompt_eval_count")]
    public int? InputTokenCount { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    LoadDuration

    Optional. Time spent loading the model (in nanoseconds).

    Declaration
    [JsonProperty("load_duration")]
    public long? LoadDuration { get; set; }
    Property Value
    Type Description
    long?
    | Edit this page View Source

    Model

    Required. The model name.

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

    TotalDuration

    Optional. Time spent generating the response (in nanoseconds).

    Declaration
    [JsonProperty("total_duration")]
    public long? TotalDuration { get; set; }
    Property Value
    Type Description
    long?

    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