Skip to content

Glossary: Running Open Models Locally

REST API

Also written: /api/chat, /api/generate, /api/embed

A server interface made of plain HTTP requests with JSON bodies, which any language can send. Ollama's `/api/chat`, `/api/generate` and `/api/embed` are examples.

Where the book teaches it

Related terms

curlStreaming