Table of Contents

Class NotEnoughContextSizeException

Namespace
LMKit.Exceptions
Assembly
LM-Kit.NET.dll

Represents an exception that is thrown when a model does not provide sufficient context size for a required operation.

public sealed class NotEnoughContextSizeException : Exception, ISerializable
Inheritance
NotEnoughContextSizeException
Implements
Inherited Members

Fields

ContextSize

Gets the maximum context size.

RequiredTokens

Gets the number of tokens required for the operation that triggered the exception.

Properties

Message

Gets a message that describes the current exception.