Table of Contents

Class OllamaRequest

public class OllamaRequest : IJsonRequest
Inheritance
object
OllamaRequest
Derived

Properties

KeepAlive

Optional. Controls how long the model will stay loaded into memory following the request.

public string KeepAlive { get; set; }

Property Value

string

Model

Required. The model name.

public Model Model { get; set; }

Property Value

Model

Options

Optional. Additional model parameters listed in the documentation for the Modelfile such as temperature.

public OllamaModelSettings Options { get; set; }

Property Value

OllamaModelSettings