Class OllamaTextResponse
Inheritance
OllamaTextResponse
Inherited Members
Namespace: Glitch9.AIDevKit.Ollama
Assembly: Glitch9.AIDevKit.Provider.Ollama.dll
Syntax
public class OllamaTextResponse : OllamaResponse
Properties
| Edit this page View SourceContext
Optional. Encoding of the conversation used in this response.
Declaration
[JsonProperty("context")]
public List<int> Context { get; set; }
Property Value
| Type | Description |
|---|---|
| List<int> |
CreatedAt
Required. The timestamp when the response was created.
Declaration
[JsonProperty("created_at")]
public ZuluTime CreatedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| ZuluTime |
EvalDuration
Optional. Time in nanoseconds spent generating the response.
Declaration
[JsonProperty("eval_duration")]
public long? EvalDuration { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
FinishReason
Optional. The reason the response generation was stopped.
Declaration
[JsonProperty("done_reason")]
public FinishReason? FinishReason { get; set; }
Property Value
| Type | Description |
|---|---|
| FinishReason? |
OutputTokenCount
Optional. Number of tokens in the response.
Declaration
[JsonProperty("eval_count")]
public int? OutputTokenCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PromptEvalDuration
Optional. Time spent evaluating the prompt (in nanoseconds).
Declaration
[JsonProperty("prompt_eval_duration")]
public long? PromptEvalDuration { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |