Property ContextSize
ContextSize
Gets the total token context size available for this conversation.
public int ContextSize { get; }
Property Value
Examples
using var chat = new PdfChat(chatModel, embeddingModel, contextSize: 8192);
Console.WriteLine($"Context size: {chat.ContextSize} tokens");