Skip to contents

get_ollama_connection sets variables that are used to define the connection to an ollama server.

Usage

get_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

A list that contains information about the ollama connection.

Details

A simple function to set the connection details to an ollama server.

Examples

#get_ollama_connection(ip_ad="127.0.0.1", port="11434")