Using the Ollama REST API with curl
Ollama exposes a simple REST API on http://localhost:11434 . The two endpoints you will use most are /api/generate for single prompts and /a...
Clear, practical tutorials on LLM APIs, RAG, AI agents, MCP, context engineering, local LLMs, fine-tuning, PyTorch and more — plus handy tools to speed up your everyday development work.
Animated examples of SQL, Laravel, PHP and JavaScript code being written and run, from Technical Simple tutorials.
Ollama exposes a simple REST API on http://localhost:11434 . The two endpoints you will use most are /api/generate for single prompts and /a...
A small language model (SLM) is a language model with relatively few parameters, usually from a few hundred million up to roughly ten billio...
Chunking means splitting documents into smaller passages before you embed them. You must do it because embedding models have input limits, b...
A token is the unit a language model reads and writes. It is usually a piece of a word, a whole short word, a number fragment or a punctuati...
130 quick tools that run in your browser — nothing to install.
Format, validate, minify and sort JSON with exact error positions.
Open toolEncode and decode Base64 text and files, with full Unicode and URL-safe support.
Open toolGenerate MD5, SHA, PBKDF2 and Bcrypt hashes right in your browser.
Open toolCreate strong random passwords or passphrases with entropy and crack-time estimates.
Open toolWrite HTML and preview it live, with formatting, import and export.
Open toolTest regular expressions with live highlighting and capture groups.
Open toolGenerate harmonious colour palettes and export them as CSS variables, SCSS or JSON.
Open toolShrink JPG, PNG and WebP images in your browser with a quality slider and before/after sizes.
Open toolCreate QR codes for links, text, Wi-Fi, contacts, email and SMS; download PNG or SVG.
Open toolCombine several PDFs into one, in the order you choose — all in your browser.
Open toolConvert cURL commands into fetch, Axios, Python requests, PHP, Go and Node.js code.
Open toolExplain cron schedules in plain English and see the next runs.
Open toolCustomers scan your QR code, upload their PDF or photos and pay your UPI ID directly. You check the payment and press print. No app, no commission, a one-time registration.
Join the newsletter and get new articles delivered to your inbox. Free, and you can unsubscribe anytime.