add llm based functions for demoing claude

This commit is contained in:
Daylin Morgan 2024-08-08 13:53:16 -05:00
parent 85e0bb6236
commit 86205fcc27
Signed by: daylin
GPG key ID: 950D13E9719334AD
5 changed files with 15 additions and 6 deletions

View file

@ -0,0 +1,8 @@
#!/usr/bin/env zsh
if [ $# -eq 0 ];
then
curl -s cheat.sh | less -R
else
curl -s cheat.sh/${@} | less -R
fi

View file

@ -1,8 +1,3 @@
#!/usr/bin/env zsh #!/usr/bin/env zsh
if [ $# -eq 0 ]; llm -s "Answer in as few words as possible. Use a brief style with short replies." -m claude-3.5-sonnet "$*"
then
curl -s cheat.sh | less -R
else
curl -s cheat.sh/${@} | less -R
fi

View file

@ -0,0 +1,3 @@
#!/usr/bin/env zsh
llm -m claude-3-haiku "$*"

View file

@ -0,0 +1,3 @@
#!/usr/bin/env zsh
llm -m claude-3-opus "$*"