TAG · 2 ARTICLES
#chat-api
- 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
- 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