Table of Contents

Property ChatHistory

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

ChatHistory

Gets the conversation history containing all exchanged messages.

public ChatHistory ChatHistory { get; }

Property Value

ChatHistory

Examples

using var chat = new RagChat(ragEngine, chatModel);
await chat.SubmitAsync("What is RAG?");

// Inspect the conversation history
Console.WriteLine($"Messages exchanged: {chat.ChatHistory.MessageCount}");
Share