Er

Ergonomically call LLM in bulk from CLI

Hacker News

Ergonomically call LLM in bulk from CLI

Hi! I've found myself repeatedly writing little scripts to do bulk calls to LLMs for various tasks. For example, run some analysis on a large list of records. There are a few "gotchas" to doing this. For example, some service providers have rate limits, and some models will not reliably return JSON (if you're asking for it). So, I've written a command for this. What I've tried to do here is let the user break up prompts and configuration as they see fit. For example, you can have a prompt file which includes the API key, rate limit, settings, etc. all together, or break these up into multiple files, or keep some parts local, or override parameters. This solves the problem of sharing settings between activities, and keeping prompts in simple, committable files of narrow scope. I hope this can be of use to someone. Thanks for reading.

Share card

Actual performance

7points
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: model, user, models · Missing: mac, agents, macos
86%86% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: para · Missing: supports, reddit linkedin, podcasting
82%82% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: ide, io · Missing: https docs, excited, just released
50%50% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: para · Missing: mobile apps, ios, personal
48%48% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: calls · Missing: plus, platform, intuitive
33%33% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: arr · Missing: mrr, revenue, profit
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Zs
Zsh Command Completion for Simon Wilson's LLM CLI54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Zsh Command Completion for Simon Wilson's LLM CLI

Hacker News1
CL
CLI for bulk uploading custom emojis to Slack42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

CLI for bulk uploading custom emojis to Slack

Hacker News2
Ru
Russian roulette in bash for the CLI43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Russian roulette in bash for the CLI

Hacker News5
Sy
Syncthingmanager – Configure Syncthing from the CLI47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Syncthingmanager – Configure Syncthing from the CLI

Hacker News3
A
A CLI for HNSearch37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A CLI for HNSearch

Hacker News56
CL
CLI for Domainr37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

CLI for Domainr

Hacker News7
A
A CLI for Domai.nr37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A CLI for Domai.nr

Hacker News3
pi
pirate, a dsl for parsing CLI arrrrguments in Scala49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

pirate, a dsl for parsing CLI arrrrguments in Scala

Hacker News2
A
A CLI for the Pirate Bay37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A CLI for the Pirate Bay

Hacker News4
Ye
Yet Another CLI for HN44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Yet Another CLI for HN

Hacker News7