Using the Ollama API with Python and requests

Featured image for the blog post

An earlier blog post explained how to access the Ollama API from the shell using the curl program. If the gemma3 model is used as a local AI on the system, it might look like this: In this article, we’ll take a look at the Python programming language and how to use the requests library. … Read more

Using the Ollama API with curl on macOS

Using Ollama API with curl

In a previous article, the basics of using local language models with Ollama were explained. This blog post is a continuation, discussing the use of an Application Programming Interface (API). In addition to the ollama command or the graphical user interface, the Ollama-managed language models can also be accessed via an API. To enable this, … Read more

Categories AI

Using Large Language Models with Ollama Locally on Mac

Run Ollama in the Terminal on macOS

This blog post is the first in a series of articles on the topic of artificial intelligence.— Contrary to the views of various “experts” from the past, AI has not disappeared; instead, it is gaining more significance in everyday life, particularly through AI chatbots. ChatGPT is perhaps the most widely used example. Most users might … Read more

Categories AI