Class RegexExtractOptions

Assembly: redb.Route.Llm.Tools.dll

Configuration for .

public sealed class RegexExtractOptions

Inheritance

Object→RegexExtractOptions

Properties

EndpointUri

Endpoint URI the tool is mounted on. Default "direct:llm.regex_extract".

public string EndpointUri { get; init; }

MatchTimeout

Per-pattern execution timeout. Default 1 second. Guards against catastrophic

public TimeSpan MatchTimeout { get; init; }

MaxMatches

Maximum number of matches returned in array mode. Default 64.

public int MaxMatches { get; init; }

MaxTextChars

Maximum length of the inbound text in characters. Default 1 MiB.

public int MaxTextChars { get; init; }

ToolName

Tool name exposed to the model. Default "regex_extract".

public string ToolName { get; init; }