How to Give Ollama a System Prompt for One Chat Only
Set a system prompt for a single Ollama chat with /set system, so it shapes only that session and never becomes a…
THE FIELD GUIDE
Run AI on your own computer, check model and hardware requirements, and verify which steps work without a cloud connection.
Set a system prompt for a single Ollama chat with /set system, so it shapes only that session and never becomes a…
Give an Ollama model a longer context window with num_ctx when a long conversation or document gets cut off, using /set parameter…
Set OLLAMA_HOST to 0.0.0.0:11434 so another computer on your trusted home network can reach Ollama, and understand that the server has no…
Set a model's context length and GPU offload in LM Studio before you load it, so a long chat is not cut…
Start llama-server with a SmolVLM model from Hugging Face, then send the image as a base64 data URI to /v1/chat/completions and read…
Start llama-server with a GGUF model from Hugging Face, then call its OpenAI-compatible endpoints with curl so your own app can use…
Start mlx_lm.server on an Apple Silicon Mac to serve a local model through an OpenAI-compatible API on localhost:8080 for your own apps.
Send one prompt to Ollama's /api/generate endpoint with curl and read the reply, with no chat history to manage.
Add --verbose to ollama run and read the timing lines after each reply to see how many tokens your prompt and answer…
Point GPT4All LocalDocs at a folder of your own text and PDF files, let it index them on your computer, and ask…