4 ms·
What's 'this', do you mean the command pattern being described? If so, yes - I've used it to great effect, if the code around it is designed properly. It's ev
by jptlnk 2y ago
What's 'this', do you mean the command pattern being described? If so, yes - I've used it to great effect, if the code around it is designed properly. It's even amenable to evals if you can write the LLM call as a function that operates on some state:
(document, input) -> command
(document, command) -> document'
# assert something about document' relative to document
- t-writescode 2y agoChiming in, this is exactly how I use LLMs in my yet-to-be-released product. Document reading, parsing, organizing, distilling Synonym+context finding, rewriting text based on rules, etc. Works not terribly for that! Sometimes needs a couple passes to get it right; but let it run a few times, put it in the background, and you're off to the races!