AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class OllamaTextResponse

    Inheritance
    object
    OllamaResponse
    OllamaTextResponse
    ChatDeltaResponse
    ChatResponse
    GenerateResponse
    Inherited Members
    OllamaResponse.Model
    OllamaResponse.TotalDuration
    OllamaResponse.LoadDuration
    OllamaResponse.InputTokenCount
    Namespace: Glitch9.AIDevKit.Ollama
    Assembly: .dll
    Syntax
    public class OllamaTextResponse : OllamaResponse

    Properties

    Context

    Optional. Encoding of the conversation used in this response.

    Declaration
    public List<int> Context { get; set; }
    Property Value
    Type Description
    List<int>

    CreatedAt

    Required. The timestamp when the response was created.

    Declaration
    public ZuluTime CreatedAt { get; set; }
    Property Value
    Type Description
    ZuluTime

    EvalDuration

    Optional. Time in nanoseconds spent generating the response.

    Declaration
    public long? EvalDuration { get; set; }
    Property Value
    Type Description
    long?

    FinishReason

    Optional. The reason the response generation was stopped.

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

    OutputTokenCount

    Optional. Number of tokens in the response.

    Declaration
    public int? OutputTokenCount { get; set; }
    Property Value
    Type Description
    int?

    PromptEvalDuration

    Optional. Time spent evaluating the prompt (in nanoseconds).

    Declaration
    public long? PromptEvalDuration { get; set; }
    Property Value
    Type Description
    long?
    In this article
    Back to top Generated by DocFX