Class OllamaResponse
Inherited Members
Namespace: Glitch9.AIDevKit.Ollama
Assembly: Glitch9.AIDevKit.Provider.Ollama.dll
Syntax
public class OllamaResponse
Properties
| Edit this page View SourceInputTokenCount
Optional. Number of tokens in the prompt.
Declaration
[JsonProperty("prompt_eval_count")]
public int? InputTokenCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
LoadDuration
Optional. Time spent loading the model (in nanoseconds).
Declaration
[JsonProperty("load_duration")]
public long? LoadDuration { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
Model
Required. The model name.
Declaration
[JsonProperty("model")]
public string Model { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TotalDuration
Optional. Time spent generating the response (in nanoseconds).
Declaration
[JsonProperty("total_duration")]
public long? TotalDuration { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |