Skip to contents

Note that the URL of a locally-running ollama instance is presumed by default to be "127.0.0.1:11434". Other values can be set using the set_ollama_url function.

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.

See also

Other ollama: get_ollama_url(), set_ollama_url()

Examples

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