Table of Contents

Property Model

Namespace
LMKit.TextGeneration.Chat
Assembly
LM-Kit.NET.dll

Model

Gets or sets the LLM (Language Model) instance associated with this object. The model instance can be changed unless the object is marked as internal/sealed. Throws exceptions when an invalid model is provided or the instance is sealed.

public LLM Model { get; set; }

Property Value

LLM

Exceptions

ArgumentNullException

Thrown when attempting to set the model to null.

InvalidOperationException

Thrown when attempting to set a model on an object that is marked as sealed.