|
|
|
|
|
by thih9
373 days ago
|
|
Note that this is a very simple library and not very efficient. E.g. for the code that filters an array, it would run N prompts[1]: `You are a filter agent.\nYour job is to return whether an item matches the criteria: ${criteria}\nRespond only with true or false.`
It's a cool demo, but I wouldn't use that in production; IMO having that code in a separate library offers little benefit and increases the risk of misuse.[1]: https://github.com/montyanderson/incant/blob/73606e826d6e5b0... |
|