add llm based functions for demoing claude
This commit is contained in:
parent
85e0bb6236
commit
86205fcc27
5 changed files with 15 additions and 6 deletions
8
home/private_dot_config/zsh/functions/executable_cht
Normal file
8
home/private_dot_config/zsh/functions/executable_cht
Normal 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
|
|
@ -1,8 +1,3 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
if [ $# -eq 0 ];
|
||||
then
|
||||
curl -s cheat.sh | less -R
|
||||
else
|
||||
curl -s cheat.sh/${@} | less -R
|
||||
fi
|
||||
llm -s "Answer in as few words as possible. Use a brief style with short replies." -m claude-3.5-sonnet "$*"
|
||||
|
|
3
home/private_dot_config/zsh/functions/executable_qc
Normal file
3
home/private_dot_config/zsh/functions/executable_qc
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
llm -m claude-3-haiku "$*"
|
3
home/private_dot_config/zsh/functions/executable_qe
Normal file
3
home/private_dot_config/zsh/functions/executable_qe
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
llm -m claude-3-opus "$*"
|
Loading…
Reference in a new issue