feat: add ai script to run ollama llama3:8b locally

This commit is contained in:
Ayo Ayco 2025-08-21 16:20:57 +02:00
parent 16f871ed35
commit 15d27770e5
3 changed files with 5 additions and 0 deletions

View file

@ -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
View file

@ -0,0 +1 @@
ollama run llama3:8b

3
ayo.sh
View file

@ -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
;;