Get the latest tech news

Show HN: Sort lines semantically using llm-sort


Sort input lines semantically with llm. Contribute to vagos/llm-sort development by creating an account on GitHub.

LLM plugin for semantically sorting lines. This command has an interface similar to the GNU sort command, but instead of sorting lines based on alphabetical order, it input lines based on some semantic ranking criteria. Note: The prompt template variables are{query},{docA}, and{docB}.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of sort

sort

Photo of Sort lines

Sort lines

Related news:

News photo

Intel Releases x86-simd-sort 6.0 For Speedy AVX2/AVX-512 Sorting, PyTorch Now Using It

News photo

Sort, sweep, and prune: Collision detection algorithms (2023)

News photo

NumPy 2.0 Brings Faster Performance Thanks To Intel's x86-simd-sort & Google's Highway