Learn R Programming

rollama (version 0.2.2)

ping_ollama: Ping server to see if Ollama is reachable

Description

Ping server to see if Ollama is reachable

Usage

ping_ollama(server = NULL, silent = FALSE, version = FALSE)

Value

TRUE if server is running

Arguments

server

URL to one or several Ollama servers (not the API). Defaults to "http://localhost:11434".

silent

suppress warnings and status (only return TRUE/FALSE).

version

return version instead of TRUE.