3 ms·
If this hook can feed back text to the model, you can do some pretty interesting things. Say the model emits some banned phrase or concept, you could redirect
by cadamsdotcom 3mo ago
If this hook can feed back text to the model, you can do some pretty interesting things.
Say the model emits some banned phrase or concept, you could redirect it - "no, we don't work that way here, do it properly" - potentially automating the frustration of interacting with these tools.
After all it's just a text stream!
It's not too dissimilar from a stop hook that runs tests and feeds that back to the model forcing it to keep working until tests pass.
Using tooling to get a deterministic outcome.