Table of Contents

Property ContextSize

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

ContextSize

Gets the total token context size available for this conversation.

public int ContextSize { get; }

Property Value

int

Examples

using var chat = new PdfChat(chatModel, embeddingModel, contextSize: 8192);
Console.WriteLine($"Context size: {chat.ContextSize} tokens");
Share