test_ollama_connection
says hello and uses the name of the person(s) as an argument. y
Usage
test_ollama_connection(ip_ad = "127.0.0.1", port = "11434")
Arguments
- ip_ad
the IP address of the server running ollama. Default is localhost 127.0.0.1.
- port
the port used to run the ollama service. Default is 11374.
Value
Returns TRUE if the connection works, or an error object it does not.
Details
A simple function to test the connect to ollama
Examples
#test_ollama_connection(ip_ad="127.0.0.1", port="11434")