}

Articles tagged "ai"

Page 2 of 3

3 min readIntermediate

LiteLLM Tutorial 2026: Use OpenAI, Claude, and Ollama with One Python API

LiteLLM tutorial 2026: call OpenAI, Claude, Gemini, and Ollama with one unified Python API. Setup proxy server, fallbacks, cost tracking, and load balancing.

7 min readIntermediate

n8n + AI on Linux: Self-Hosted Workflow Automation with LLMs (2026)

Run n8n on Linux and automate workflows with AI and local LLMs. Install n8n via Docker, set up AI Agent nodes with Ollama, build real automations, and run as a systemd service. Free 2026 guide.

6 min readBeginner

Ollama on Linux: Run Local LLMs, Manage Models and Use the API (2026)

Complete Ollama guide for Linux: install, run LLMs locally, manage models, use the REST API, Python integration, and GPU acceleration with NVIDIA or AMD.

6 min readIntermediate

Ollama + Open WebUI on Linux: Run a Local ChatGPT Server (2026)

Set up Ollama and Open WebUI on Linux for a free self-hosted ChatGPT alternative. Run llama3.2, mistral, and qwen2.5 locally with GPU support and nginx reverse proxy.

8 min readIntermediate

OpenAI Function Calling in Python: Complete Guide 2026 (Tools, Parallel Calls, Streaming)

Learn OpenAI function calling in Python 2026. Define tools, handle tool_calls, run parallel function calls, stream with tools, and build a real assistant with weather and calendar tools.

4 min readIntermediate

PydanticAI Tutorial 2026: Build Type-Safe AI Agents in Python

PydanticAI tutorial 2026: build type-safe AI agents in Python with FastAPI-style dependency injection. Covers tools, structured results, testing without LLM calls, and local Ollama integration.

7 min readIntermediate

RAG with Python, LangChain and PostgreSQL pgvector as Vector Store (2026)

Build a RAG pipeline with Python, LangChain, and PostgreSQL pgvector. Load documents, create embeddings, store in pgvector, and query with an LLM. Complete working example.

4 min readIntermediate

Build a RAG System from Scratch with Python and pgvector (No LangChain, 2026)

Build a RAG chatbot from scratch using Python and PostgreSQL pgvector — no LangChain needed. Covers chunking, embeddings with Ollama, vector search, and a working chat-with-docs example.

7 min readIntermediate

Structured Output from LLMs with Python: Reliable JSON Using Pydantic and Instructor (2026)

Get reliable JSON from LLMs using Python. Learn to use the instructor library with Pydantic to extract structured data from OpenAI, Claude, and local Ollama models. 2026 guide.

7 min readIntermediate

Whisper AI: Local Speech-to-Text with Python — No API Key Needed (2026)

Transcribe audio locally with OpenAI Whisper and Python — no API key required. Covers faster-whisper, timestamps, batch processing, ffmpeg pipeline, and SRT export. Free 2026 guide.