Show HN: Sort lines semantically using llm-sort

https://github.com/vagos/llm-sort
by vagozino • 1 year ago
25 13 1 year ago

This is a small plugin I made for Simon Willison's llm utility.

You can do things like:

cat names.txt | llm sort -q "Which one of these names is best for a pet seagull?"

cat books.txt | llm sort -q "Which book is more related to basic vs. advanced CS topics?"

I see a lot of potential marrying LLMs with classic UNIX interfaces.

Related Stories

Loading related stories...

Source preview

github.com