You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
966 B
966 B
API Documentation — Ollama
Owner: kontrak HTTP API Ollama di VM internal. Dokumentasi resmi: Ollama API
Consumer GeoNet: server-connection/geonet-console (OllamaService.php).
Base URL
| Env | URL | Env var |
|---|---|---|
| VLAN prod | http://10.100.1.26:11434 |
OLLAMA_BASE_URL |
Indeks Endpoint (sering dipakai)
| Method | Path | Deskripsi | Auth |
|---|---|---|---|
| GET | /api/version |
Versi Ollama | none |
| GET | /api/tags |
Daftar model | none |
| POST | /api/chat |
Chat completion | none |
| POST | /api/generate |
Text generation | none |
| POST | /api/embeddings |
Vector embedding | none |
Detail: overview.md
Konvensi GeoNet
- Chat model default:
qwen2.5:7b - Embed model default:
nomic-embed-text - Timeout client:
OLLAMA_TIMEOUT(default 120s) - Tidak expose API ke internet