Documentation update.
This commit is contained in:
12
scripts/ai-ollama-code.sh
Executable file
12
scripts/ai-ollama-code.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#! /bin/bash
|
||||
|
||||
source ./p.sh
|
||||
if p c ollama &>/dev/null; then
|
||||
kgx -e "ollama serve"
|
||||
sleep 1
|
||||
kgx -e "ollama run codellama"
|
||||
else
|
||||
p i ollama
|
||||
echo
|
||||
echo 'Run the script again...'
|
||||
fi
|
||||
Reference in New Issue
Block a user