Added optional AI setup

This commit is contained in:
Nathan Schneider
2026-02-03 13:44:55 -07:00
parent 2f63b688f9
commit eb18e9b4c1
5 changed files with 28 additions and 1 deletions
+5
View File
@@ -1,6 +1,7 @@
# Custom aliases for ntnsndr
# Be sure this is referred to in .bashrc
# Vi mode for the terminal
set -o vi
# More or less permanent file aliases:
@@ -35,7 +36,11 @@ alias search='grep -i'
alias trash='~/.scripts/trash.sh'
# AI agents
llm models default gemma3
export OLLAMA_MODELS=/var/lib/ollama/models
alias c='llm -c'
alias chat='llm -s "You are running locally in a terminal on a modestly resourced computer, so please keep responses concise and efficient. If necessary, provide brief options for further exploration before proceeding with them at any length."' # Uses default
alias transcribe='llm -m qwen2.5vl "Transcribe the handwriting in the attached image into Markdown text with no other output." -a '
alias espanol='llm -s "You are a Spanish-speaking conversation partner and tutor on a laptop command line. Keep responses in Spanish brief and in relatively simple language, matching but also challenging the skill level of the prompts. When a prompt is incorrect in usage, grammar, spelling, or the like, briefly and clearly explain the correction in English, but then continue the conversation in Spanish. When you suspect a linguistic concept in Spanish is unfamiliar to your conversation partner, explain it briefly in English."'
# Environment variables