test_connection {ollamar} | R Documentation |
test_connection()
tests whether the Ollama server is running or not.
test_connection(url = "http://localhost:11434")
url |
The URL of the Ollama server. Default is http://localhost:11434 |
A httr2 response object.
test_connection()
test_connection("http://localhost:11434") # default url
test_connection("http://127.0.0.1:11434")