llms

All posts tagged llms by Linux Bash
  • Posted on
    Featured Image
    This post shows how to turn LLMs into reliable DevOps helpers from the shell using a tiny Bash wrapper (OpenAI or Ollama) with low temperature and optional JSON for deterministic, scriptable outputs. It covers install steps and five patterns—templated prompts, log triage, JSON contracts, safe Bash generation, and context packs—plus hardening tips, a quick start, and a call to treat prompts as code.
  • Posted on
    Featured Image
    Learn to build a private, terminal-first RAG assistant on Linux that answers questions from your own PDFs, notes, and wikis without the cloud. The guide installs prerequisites and Ollama, ingests docs to text via Bash, embeds with sentence-transformers, indexes with FAISS, and queries a local LLM. It includes scripts (ingest.sh, build_index.py, ask.py), tuning tips, real-world uses, and troubleshooting.
  • Posted on
    Featured Image
    A hands-on guide to building a private, local RAG pipeline on Linux that answers questions about your docs with citations. It installs prerequisites, sets up Ollama for a local LLM, sentence-transformers + FAISS for embeddings and search, and LangChain orchestration, then provides two scripts to index and query. Includes examples, tuning tips (chunking, k, models), and next steps like automation and swapping vector DBs.
  • Posted on
    Featured Image
    Step-by-step guide to build a local, privacy-first AI CLI agent on Linux with Ollama and Bash. Learn why local agents matter, install Ollama on major distros or Docker, pull models, and create a Bash agent that calls safe, read-only tools (list_dir, read_file, whitelisted shell) via the chat API using curl/jq. Includes runnable script, examples, performance/security knobs, troubleshooting, and ideas for extensions and UIs.
  • Posted on
    Featured Image
    Practical guide for Linux engineers to run fast, private, scriptable AI with Ollama: why local models win (privacy, latency, cost), how to install and pull Llama 3, call via CLI/HTTP, and pipe into Bash for log triage, config review, and code assist; build an ops-tuned Modelfile, run air-gapped with managed storage, tune CPU/GPU and determinism, and follow a 20-minute rollout plan.
  • Posted on
    Featured Image
    A practical guide for terminal-first Linux users to run AI locally: recommends top small-to-mid open models (Llama 3, Mistral, Phi-3, Qwen2.5 Coder, Mixtral), shows 5-minute Ollama setup or high-control llama.cpp with GGUF quantization, gives real CLI recipes (explain, summarize, code, logs, commits), tips for speed, context, determinism, and a curl API fallback, keeping data private and costs predictable.