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 RagChat(ragEngine, chatModel);

Console.WriteLine($"Available context: {chat.ContextSize} tokens");
Share