News
Tech with Tim on MSN28d
How To Build an API with Python (LLM Integration, FastAPI, Ollama & More)
AI models are powerful tools, and in order to use them securely, you need to control them using an API. I'm going to teach you how to write a very simple Python API to control access to a LLM or an AI ...
In order to test the API is set up correctly, as well as gain an understanding of what is generated during the test, I ran one URL through the API using the simple urllib.request method.
While you might be familiar with APIs, we'll get into how they work and how they can be used in this tech project, using low-code programming to check the weather with your home lab.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results