This commit is contained in:
parent
b037098730
commit
16cbff61a8
1 changed files with 2 additions and 1 deletions
|
|
@ -24,7 +24,8 @@ When an LLM agent needs to follow these conventions, it usually has two bad opti
|
|||
1. **Stuff every existing file into context** — 15 Ansible roles = 5,000 tokens. You'll hit the context window by the third example.
|
||||
2. **Guess from one or two examples** — the LLM infers a pattern and often gets it wrong.
|
||||
|
||||
Dervish replaces both with a **one-call MCP tool**: pass your sequences, get back a ~60-token grammar. A rule you can trust, at a fraction of the cost.
|
||||
Dervish replaces both with a **one-call MCP tool**: pass your sequences, get back a ~60-token grammar.
|
||||
By leveraging Minimum Description Length (MDL) scoring, Dervish treats the grammar discovery problem as an optimal compression task—meaning the resulting rule is mathematically tuned to consume as few tokens as possible without losing the pattern.
|
||||
|
||||
**Without Dervish:** token cost scales linearly with examples. **With Dervish:** one compact grammar describes them all — a ~60–200 token rule instead of thousands of tokens of raw examples. Try it out and you too will say:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue