Class CompletionRequest
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: .dll
Syntax
public class CompletionRequest : CompletionRequestBase
Properties
Context
Optional (Ollama-only). The context parameter returned from a previous request to /generate.
Declaration
public List<int> Context { get; set; }
Property Value
Type | Description |
---|---|
List<int> |
Raw
Optional (Ollama-only). If true no formatting will be applied to the prompt.
Declaration
public bool? Raw { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Suffix
Optional (Ollama-only). The text after the model response.
Declaration
public string Suffix { get; set; }
Property Value
Type | Description |
---|---|
string |
Template
Optional (Ollama-only). The prompt template to use (overrides what is defined in the Modelfile).
Declaration
public string Template { get; set; }
Property Value
Type | Description |
---|---|
string |