跳转到主要内容

最近更新的页面

Examples

Ollama 文档

This directory contains different examples of using Ollama. Python examples Ollama Python example...

由 壳壳虫 更新于 1 周前

CPU only

Ollama 文档

docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama Nvidia GPU Insta...

由 壳壳虫 更新于 1 周前

Development

Ollama 文档

Install prerequisites: Go CMake 3.24 or newer C/C++ compiler: Clang on macOS, Visual Studio 2022 ...

由 壳壳虫 更新于 1 周前

Cloud

Ollama 文档

Run models in Ollama's cloud from your apps or terminal. No model or app download required. API K...

由 壳壳虫 更新于 1 周前

CLI Reference

Ollama 文档

Run a model ollama run gemma4 Launch integrations ollama launch Configure and launch external app...

由 壳壳虫 更新于 1 周前

Vision

Ollama 文档 Capabilities

Vision models accept images alongside text so the model can describe, classify, and answer questi...

由 壳壳虫 更新于 1 周前

Tool calling

Ollama 文档 Capabilities

Ollama supports tool calling (also known as function calling) which allows a model to invoke tool...

由 壳壳虫 更新于 1 周前

Thinking

Ollama 文档 Capabilities

Thinking-capable models emit a thinking field that separates their reasoning trace from the fina...

由 壳壳虫 更新于 1 周前

Structured Outputs

Ollama 文档 Capabilities

Ollama's cloud currently does not support structured outputs. Structured outputs let you enforce ...

由 壳壳虫 更新于 1 周前

Streaming

Ollama 文档 Capabilities

Streaming allows you to render text as it is produced by the model. Streaming is enabled by defau...

由 壳壳虫 更新于 1 周前

Speech

Ollama 文档 Capabilities

Speech models read text aloud. Ollama streams the audio as it is generated, so playback can start...

由 壳壳虫 更新于 1 周前

Embeddings

Ollama 文档 Capabilities

Embeddings turn text into numeric vectors you can store in a vector database, search with cosine ...

由 壳壳虫 更新于 1 周前

Decision

Ollama 文档 Capabilities

Use System One to classify text, answer yes/no questions, or score text against a rubric. See the...

由 壳壳虫 更新于 1 周前

Usage

Ollama 文档 Api

Ollama's API responses include metrics that can be used for measuring performance and model usage...

由 壳壳虫 更新于 1 周前

Streaming

Ollama 文档 Api

Certain API endpoints stream responses by default, such as /api/generate. These responses are pr...

由 壳壳虫 更新于 1 周前

OpenAI compatibility

Ollama 文档 Api

Connect OpenAI clients to Ollama. Ollama supports a subset of the OpenAI API. Direct cloud access...

由 壳壳虫 更新于 1 周前

Introduction

Ollama 文档 Api

Use Ollama's API to build applications with cloud or local models. Get started Call cloud models ...

由 壳壳虫 更新于 1 周前

Errors

Ollama 文档 Api

Endpoints return appropriate HTTP status codes based on the success or failure of the request in ...

由 壳壳虫 更新于 1 周前

Cloud usage

Ollama 文档 Api

curl 'https://ollama.com/api/usage?range=24h' \ -H "Authorization: Bearer $OLLAMA_API_KEY" { ...

由 壳壳虫 更新于 1 周前

Balance

Ollama 文档 Api

curl https://ollama.com/api/balance \ -H "Authorization: Bearer $OLLAMA_API_KEY" { "included"...

由 壳壳虫 更新于 1 周前