Table of Contents

Class OllamaTextResponse

public class OllamaTextResponse : OllamaResponse
Inheritance
object
OllamaTextResponse
Derived
Inherited Members

Properties

Context

Optional. Encoding of the conversation used in this response.

public List<int> Context { get; set; }

Property Value

List<int>

CreatedAt

Required. The timestamp when the response was created.

public ZuluTime CreatedAt { get; set; }

Property Value

ZuluTime

EvalDuration

Optional. Time in nanoseconds spent generating the response.

public long? EvalDuration { get; set; }

Property Value

long?

FinishReason

Optional. The reason the response generation was stopped.

public StopReason? FinishReason { get; set; }

Property Value

StopReason?

OutputTokenCount

Optional. Number of tokens in the response.

public int? OutputTokenCount { get; set; }

Property Value

int?

PromptEvalDuration

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

public long? PromptEvalDuration { get; set; }

Property Value

long?