TAG · 10 ARTICLES
#ollama
Local LLMs with Ollama
- JAVASpring AI ChatClient: prompts, templates and model switchingThe HTTP call from part 3, now done the Spring way. Set up Spring AI 2.0 with a local model, talk to it with ChatClient, use prompt templates, get Java records back, stream, remember the conversation, and switch providers without changing code.17 Nov 2026 · 9 min
- AICall a local LLM from Java with Ollama: HttpClient, a stateless request, then a chatbot with memoryPlain Java, no AI framework. We call Ollama's /api/chat with HttpClient and Jackson, prove the model remembers nothing between requests, then build a terminal chatbot that remembers, and see why the assistant role and the context window matter.15 Nov 2026 · 8 min
- AICall a local LLM from Python with Ollama: a stateless request, then a chatbot with memoryStep-by-step Python code that calls Ollama's /api/chat. First we prove the model remembers nothing between requests. Then we build a terminal chatbot that remembers, and see why the assistant's answers and the context window matter.15 Nov 2026 · 7 min
- AIOllama CLI commands: the complete cheat sheet (with examples)Every Ollama command you need, explained in plain English with real examples. Install and check, download and run, manage models, build a custom model with a Modelfile, call the REST API, and publish.15 Nov 2026 · 8 min
- AIThe Ollama desktop app: chat with local models, and launch Claude Code or Copilot CLI on themNo terminal needed. The Ollama app gives you a chat window with a model picker, and a one-click launcher that plugs coding agents like Claude Code and GitHub Copilot CLI into your local or cloud models.15 Nov 2026 · 6 min
- AIOllama REST API: /api/generate vs /api/chat, with curl and Postman examplesEvery Ollama app, command and library talks to the same REST API. Here are its two main endpoints side by side, tested in curl and Postman, plus what stream and think really do when you set them to true or false.15 Nov 2026 · 9 min
- AIHow to run an LLM on your own computer (a beginner's guide to local LLMs)ChatGPT runs on someone else's computer. With a free tool called Ollama, a real language model can run on yours, privately, offline and with no bill per question. Here is what that means and how to start.15 Nov 2026 · 6 min
- AISystem, user and assistant roles in LLM chat APIs, explained simplyEvery message you send to a chat model carries a role. System sets the rules, user asks, assistant answers. Here is what each one does, who writes it, and why the model's own old answers have to go back in.15 Nov 2026 · 6 min
- AIWhat is Ollama? The video player for AI models, and localhost:11434 explainedThe model is the movie. Ollama is the player. Here is what Ollama really is, why everything talks to localhost:11434, and what happens inside when you ask it a question.15 Nov 2026 · 7 min
- AIWhat is quantization in AI? How big models fit on small devicesAn AI model is billions of numbers. Store each number with less precision and the model shrinks to a fraction of its size, often with little loss in quality. Here is how quantization works, what Q4 and Q8 mean, and the trade-offs.15 Nov 2026 · 5 min