News for hackers. Stuff that matters.
Re:API design note: Beware of adding an "Other" enum value by sgondala_ycapp on Sunday March 02, 2025 @06:28PM (#43236426)
Random tidbit: We use LLM to identify document types and use an enum to show a list of options.

Initially, we didn’t include an "Other" category - which led the LLM to force-fit documents into existing types even when they didn’t belong. Obv this wasn't LLM's fault.

We realized the mistake and added "Other". This significantly improved output accuracy!

There are no comments on this comment yet.