Skip to contents

Check that ollama is installed with required models, and download if not.

Usage

ollama_check(sudo = is_docker_sudo())

Arguments

sudo

Set to TRUE if ollama is running in docker with sudo privileges.

Value

TRUE if everything works okay, otherwise the function will error before returning.

Examples

if (FALSE) { # \dontrun{
chk <- ollama_check ()
} # }