feat: add ai script to run ollama llama3:8b locally
This commit is contained in:
parent
16f871ed35
commit
15d27770e5
3 changed files with 5 additions and 0 deletions
|
@ -34,6 +34,7 @@ $ cp example.conf ~/ayo.conf
|
|||
3\. Install some dependencies
|
||||
1. [Typora](https://typora.io) - used as an alternative editor for notes (using flag `-t`)
|
||||
1. `timeout` - install on mac via coreutils: `brew install coreutils`
|
||||
1. `ollama` - running a locall LLM via ollama. See [installation on linux](https://ollama.com/download/linux)
|
||||
|
||||
## Scripts
|
||||
|
||||
|
|
1
ai.sh
Normal file
1
ai.sh
Normal file
|
@ -0,0 +1 @@
|
|||
ollama run llama3:8b
|
3
ayo.sh
3
ayo.sh
|
@ -70,6 +70,9 @@ case $1 in
|
|||
|
||||
## SCRIPTS
|
||||
|
||||
ai)
|
||||
. ${scripts_dir}/ai.sh $2 $3 $4 $5 $6 $7 $8 $9
|
||||
;;
|
||||
m | mail)
|
||||
. ${scripts_dir}/mail.sh $2 $3 $4 $5 $6 $7 $8 $9
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue