Use these with LLM 0.24a0 or later and the llm-templates-github plugin.
brew install llm
install that plugin like this:
llm install llm-templates-github
curl -sL 'https://llm.datasette.io/' | llm -t gh:John-Lin/summarize -p language English
language
: the language to use for the output, e.g.English
,French
,Spanish
, etc.
complex_prompt=$(llm -t gh:John-Lin/meta_prompt_summarize -p language English)
llm -f https://www.bbc.com/sport/football/articles/crl05r070wro -s $complex_prompt
language
: the language to use for the output, e.g.English
,French
,Spanish
, etc.simple_prompt
: a simple prompt to use for LLM to improve prompts e.g.Summarize this news article.