Table of Contents

Property Tools

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

Tools

Registry of model-callable tools available to this conversation.

Register tools before the first user turn so they are advertised to the model. Tool invocation requires a model that supports tool calls.

public ToolRegistry Tools { get; }

Property Value

ToolRegistry

Examples

using var chat = new RagChat(ragEngine, chatModel);

// Register a custom tool for use during RAG conversations
chat.Tools.Register(BuiltInTools.Calculator);
chat.Tools.Register(BuiltInTools.DateTime);
Share