Table of Contents

Class FuzzyDistanceTool

Namespace
LMKit.Agents.Tools.BuiltIn.Text
Assembly
LM-Kit.NET.dll

Computes string similarity using Levenshtein distance, Jaro similarity, or Jaro-Winkler similarity.

public sealed class FuzzyDistanceTool : IBuiltInTool, ITool, IToolMetadata
Inheritance
FuzzyDistanceTool
Implements
Inherited Members

Examples

var tool = new FuzzyDistanceTool();
registry.Register(tool);

// Agent can now: compute edit distance, Jaro similarity, Jaro-Winkler similarity

Properties

Description

Gets a concise description of what the tool does.

InputSchema

Gets the JSON Schema defining the expected input arguments.

Name

Gets the stable, unique identifier for this tool.

Methods

InvokeAsync(string, CancellationToken)

Executes the tool with the specified JSON arguments.

Share