Class OllamaRequest
Namespace: Glitch9.AIDevKit.Ollama
Assembly: .dll
Syntax
public class OllamaRequest : RequestBody
Properties
KeepAlive
Optional. Controls how long the model will stay loaded into memory following the request.
Declaration
public string KeepAlive { get; set; }
Property Value
Type | Description |
---|---|
string |
Model
Required. The model name.
Declaration
public Model Model { get; set; }
Property Value
Type | Description |
---|---|
Model |
Options
Optional. Additional model parameters listed in the documentation for the Modelfile such as temperature.
Declaration
public ModelOptions Options { get; set; }
Property Value
Type | Description |
---|---|
ModelOptions |