llm icon indicating copy to clipboard operation
llm copied to clipboard

Ability to "tag" invocations of the tool

Open simonw opened this issue 3 months ago • 5 comments

I want to see logs just of prompts run by the tool I describe here: https://til.simonwillison.net/llms/claude-hacker-news-themes

It shells out to LLM. It would be neat if it could do this:

curl ... | llm -m claude 'Summarize the themes of the opinions expressed here, including quotes (with author attribution) where appropriate.' \
  --tag hn-summary

That --tag gets persisted in the database.

Then this could return logs with that tag:

llm logs --tag hn-summary

simonw avatar Mar 28 '24 12:03 simonw