AI DevKit
Search Results for

    Show / Hide Table of Contents

    Class OllamaCompletionOptions

    Inheritance
    object
    OllamaCompletionOptionsBase
    OllamaCompletionOptions
    Implements
    ICompletionOptions
    IGENOptions
    Inherited Members
    OllamaCompletionOptionsBase.ModelSettings
    OllamaCompletionOptionsBase.KeepAlive
    Namespace: Glitch9.AIDevKit.Ollama
    Assembly: .dll
    Syntax
    public class OllamaCompletionOptions : OllamaCompletionOptionsBase, ICompletionOptions, IGENOptions

    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

    Implements

    ICompletionOptions
    IGENOptions
    In this article
    Back to top Generated by DocFX