TAG · 2 ARTICLES

#chatbot

  1. 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
  2. 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