Class OllamaRequest
Implements
Inherited Members
Namespace: Glitch9.AIDevKit.Ollama
Assembly: Glitch9.AIDevKit.Provider.Ollama.dll
Syntax
public class OllamaRequest : IJsonRequest
Properties
| Edit this page View SourceKeepAlive
Optional. Controls how long the model will stay loaded into memory following the request.
Declaration
[JsonProperty("keep_alive")]
public string KeepAlive { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Model
Required. The model name.
Declaration
[JsonProperty("model")]
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
[JsonProperty("options")]
public OllamaModelOptions Options { get; set; }
Property Value
| Type | Description |
|---|---|
| OllamaModelOptions |