Class OllamaTextResponse
Inheritance
object
OllamaTextResponse
Inherited Members
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? |