Table of Contents

Method ExtractBetween

Namespace
LMKit.Agents.Planning
Assembly
LM-Kit.NET.dll

ExtractBetween(string, string, string)

Extracts content between markers in the model output.

protected static string ExtractBetween(string output, string startMarker, string endMarker = null)

Parameters

output string

The model output.

startMarker string

The start marker.

endMarker string

The end marker, or null to extract to the end.

Returns

string

The extracted content, or null if not found.