Expand description
Argument construction and validation for tier-2 schemas.
Structs§
- Heuristic
ArgBuilder - Offline builder: uses an embedded JSON object when the intent carries one, otherwise derives arguments from quoted strings, paths, and keywords.
- LlmArg
Builder - The cheap model fills the arguments against the schema; the heuristic builder is the fallback when the model output is not valid JSON.
Traits§
Functions§
- extract_
json - Extract the first JSON object embedded in free text.
- validate
- Validate
argsagainst a JSON schema; the error text goes back to the builder.