Learn R Programming

tidyllm (version 0.2.0)

ollama_download_model: Download a model from the Ollama API

Description

This function sends a request to the Ollama API to download a specified model. It can operate in a streaming mode where it provides live updates of the download status and progress, or a single response mode.

Usage

ollama_download_model(.model, .ollama_server = "http://localhost:11434")

Arguments

.model

The name of the model to download.

.ollama_server

The base URL of the Ollama API (default is "http://localhost:11434").