View Source API Reference Ollama v0.5.0

Modules

API change

The Ollama.API module has been deprecated in favour of the top level Ollama module. Apologies for the namespace change. Ollama.API will be removed in version 1.

Module for working for blobs in Ollama.

When an Ollama endpoint is called with the :stream option set to true, a Ollama.Streaming.t/0 struct is returned providing a unqiue reference/0 for the streaming request, and a lazy enumerable that generates messages as they are received from the streaming request.