4 ms·
I'm curious how the hallucination-free guarantee works? Does it only guarantee that the output is a subset of the input? In the case of the male names, if I in
by marcus_holmes 1y ago
I'm curious how the hallucination-free guarantee works? Does it only guarantee that the output is a subset of the input?
In the case of the male names, if I include a gender-neutral name like "Sam" does that include it because it is a male name, or exclude it because it is a female name? Can I set this to be inclusive or exclusive?
Looks interesting, though. Nice work.
- kinduff 1y agoThere is a filter for `createFilter` [1] and there is a throw if the index of the array doesn't exist for `createSelector` [2]. Maybe this is what the author refers to as hallucination-free, but falls pretty short. [1]: https://github.com/montyanderson/incant/blob/master/mod.ts#L95 https://github.com/montyanderson/incant/blob/master/mod.ts#L... [2]: https://github.com/montyanderson/incant/blob/master/mod.ts#L71 https://github.com/montyanderson/incant/blob/master/mod.ts#L...
- marcus_holmes 1y agoYeah, so it's just guaranteeing that the output is a subset of the inputs, thanks for the clarification.